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?
2 months ago
279,242 views
0 shares
memory-optimization-memes, premature-optimization-memes, bit-manipulation-memes, char-vs-int-memes, overthinking-memes | ProgrammerHumor.io
More Like This
That is my first time posting here
1 year ago
41.9K views
0 shares
Hundred Percent Uptime
1 month ago
244.8K views
0 shares
Day 1 Or Year 10: Still Googling Regex
6 months ago
196.7K views
0 shares
The First Table Paradox
4 months ago
176.5K views
0 shares
Cyber Security Expert
1 year ago
52.5K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp