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?
8 months ago
457,810 views
0 shares
memory-optimization-memes, premature-optimization-memes, bit-manipulation-memes, char-vs-int-memes, overthinking-memes | ProgrammerHumor.io
More Like This
Santa's Database Security Is Coming To Town
11 months ago
404.2K views
0 shares
Game developers back then bs game developers now
2 years ago
90.3K views
0 shares
It's true
1 year ago
71.1K views
0 shares
Ok, HTML is not a programming language
4 years ago
126.8K views
0 shares
SSK NVMe SATA SSD Enclosure, Tool-Free M.2 to USB Adapter USB C 3.2 Gen 2 10Gbps NVMe 6Gbps SATA M-Key / B+M Key External SSD Reader with UASP Trim, for 2230 2242 2260 2280 SSDs
Affiliate
External Storage
SSK
Oddly Specific
1 year ago
75.7K views
0 shares
Question On My Job Application
1 year ago
284.9K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp