That moment when you're optimizing memory usage and think "You know what? A char is 8 bits but I only need to store 5 characters... I could totally squeeze that into a 32-bit integer." Then you spend 6 hours bit-shifting and masking when you could've just used an array and gone home early. But hey, you saved 3 whole bytes! Practically a hero of computer science.
Why Shouldn't I Save 5 Chars As An Int?
1 year ago
604,316 views
0 shares
memory-optimization-memes, premature-optimization-memes, bit-manipulation-memes, char-vs-int-memes, overthinking-memes | ProgrammerHumor.io
More Like This
Git Blame To The Rescue
8 months ago
506.3K views
0 shares
Working On A Raycasting Engine
11 months ago
726.1K views
1 shares
Who else is/feels old and can relate?
1 year ago
99.6K views
0 shares
Sorry everyone I had to do this....for xmas
4 years ago
92.3K views
0 shares
NordVPN
Sponsored
VPN
he didn't deserve this...
3 years ago
88.5K views
0 shares
The One Minute Bug Fix Myth
1 year ago
346.2K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++