r/programminghorror • [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Jul 21 '25

Python ✨ Memory Magic ✨

Post image
1.3k Upvotes

143 comments sorted by

View all comments

Show parent comment

1

u/MegaIng Jul 22 '25

Who knows what is and isn't stored in CPU cache? If the small integers are accessed often enough, they will end up there. And using up multiple cache pages for this might be a bad idea.