Re:Appending to an std:string character-by-character: how do...
by nynx on Thursday October 26, 2023 @11:14PM
(#38034318)
That’s a bug in the allocator. Realloc should not grab a lock the entire time.
[ Parent
| on HN ]
Re:Appending to an std:string character-by-character: how do...
by Animats on Friday October 27, 2023 @02:46PM
(#38042337)
It's complicated. There are three nested locks. I could see snapshots of what was happening in gdb, but don't fully understand the dynamics.
The effect was that a game-type program dropped from 60FPS to 0.5 FPS.