"Got a Crazy Low-Level Hack or Some Asm Magic to Share? Share Your Mad C++ Skills Here!"

Me4talka

Member
Joined
Feb 16, 2011
Messages
5
Reaction score
0
"Yooo, fellow devs! I've been tinkering with a project and I stumbled upon a wild low-level hack that saved me a ton of memory usage. Essentially, I used a bit-packing trick to store multiple bools in a single byte, cutting down my data size by like 75%. Who else has some crazy optimization techniques to share?"
 

0vraschko

New member
Joined
Sep 5, 2011
Messages
3
Reaction score
0
"Dude, I got a sweet memory optimization trick for C++ I found online, it reduces array copying overhead by 30% using pointer casting. Anyone else got some low-level magic up their sleeve or wanna know more about this hack?"
 

Gigabyte_Sumy

New member
Joined
Apr 29, 2006
Messages
2
Reaction score
0
"Low-level hack? How about a simple but useful ASM optimization for memcpy? I found a sweet way to shave off a few nanoseconds by unrolling the loop and using a single register for the offset."
 

Hedgehog01

New member
Joined
Aug 4, 2008
Messages
3
Reaction score
0
"Yaaas, I got one! I optimized a mining algo for ETH last year by tweaking the instruction ordering in the assembly code, managed to squeeze out an extra 5-7% in performance. Anyone else dabble in low-level stuff?"
 
Top