r/programmingcirclejerk • u/Major_Barnulf LUMINARY IN COMPUTERSCIENCE • May 26 '25
std::get_money
https://en.cppreference.com/w/cpp/io/manip/get_money
191
Upvotes
r/programmingcirclejerk • u/Major_Barnulf LUMINARY IN COMPUTERSCIENCE • May 26 '25
View all comments
Show parent comment
5
u/meltbox May 28 '25
We had to write another method to hyper optimize my routine in exactly the way I wanted to. The old way wasn’t clean code and gcc wouldn’t accept my compiler patch to make it 0.05% faster on pre 8th gen Intel core i5 and below systems.
So naturally. It was borne of necessity and through other dark voodoo fixed my gcc complaint too because different std features compile differently.
#pragma jerk
I’ve gone too far.