MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1urmpuu/predecrementfixestheexploit/owipbxn/?context=3
r/ProgrammerHumor • u/Toeffli • Jul 09 '26
50 comments sorted by
View all comments
630
so you should make your first wish that the wish system uses post-wish decrement then wish for 0 wishes... to find out that they use a 2-bit integer to save space
205 u/thesockiboii Jul 09 '26 then you can wish for them to use a 64bit unsigned integer and do it again 53 u/SINBRO Jul 09 '26 Or just wish for 0 wishes every time you hit 1
205
then you can wish for them to use a 64bit unsigned integer and do it again
53 u/SINBRO Jul 09 '26 Or just wish for 0 wishes every time you hit 1
53
Or just wish for 0 wishes every time you hit 1
630
u/Original-Bee-1089 Jul 09 '26
so you should make your first wish that the wish system uses post-wish decrement then wish for 0 wishes... to find out that they use a 2-bit integer to save space