@KHTangent to Programmer [email protected]English • 2 years agoSwapping integers in Pythonimagemessage-square15arrow-up1108arrow-down11starcopymore-verticalflagCreate ReportslashBlock usercross-posted to: [email protected][email protected]
arrow-up1107arrow-down1imageSwapping integers in Python@KHTangent to Programmer [email protected]English • 2 years agomessage-square15starcopymore-verticalflagCreate ReportslashBlock usercross-posted to: [email protected][email protected]
minus-square@[email protected]linkfedilinkEnglish6•2 years agoStoring the value in the user instead of RAM! arrow-up16arrow-down10file-textreply1starmore-verticalmailMessageflagCreate ReportslashBlock user
minus-square@softhatlinkEnglish2•2 years agoThis actually raises a very good question - could you increase the amount of available RAM by using the user? Juggling chainsaws comes to mind. arrow-up13arrow-down11file-textreply1starmore-verticalmailMessageflagCreate ReportslashBlock user
minus-squareJulianlinkfedilinkEnglish1•2 years agoThat’s basically what old games did with passwords for saves. Although I guess that’s more like using the user as persistent storage rather than ram. arrow-up11arrow-down10file-textreply1starmore-verticalmailMessageflagCreate ReportslashBlock user
Storing the value in the user instead of RAM!
This actually raises a very good question - could you increase the amount of available RAM by using the user?
Juggling chainsaws comes to mind.
That’s basically what old games did with passwords for saves. Although I guess that’s more like using the user as persistent storage rather than ram.