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
621,588 views
0 shares
memory-optimization-memes, premature-optimization-memes, bit-manipulation-memes, char-vs-int-memes, overthinking-memes | ProgrammerHumor.io
More Like This
It do be like that sometimes
3 years ago
91.4K views
0 shares
I Just Keep Googling Stuff And It Keeps Working
1 year ago
461.9K views
1 shares
Purr-fectly Linked List Implementation
1 year ago
558.8K views
0 shares
What do you think guys
3 years ago
95.9K views
0 shares
Are Ya Contributin' Son?
1 year ago
442.8K views
0 shares
Truth
4 years ago
172.9K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++