Menu
Tabs vs Spaces: The eternal holy war.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Char vs int Memes
Posts tagged with Char vs int
Why Shouldn't I Save 5 Chars As An Int?
Programming
Debugging
C++
Algorithms
1 year ago
604.4K views
0 shares
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.
Today's picks
Where's The Love
Programming
149.4M views
5 days ago
NordVPN
Sponsored
VPN
Yo Ho, a freelancer's life for me.
Linux
109.7K views
3 years ago