Post 1408486 by unicornhunt@switter.at
(DIR) More posts by unicornhunt@switter.at
(DIR) Post #1408283 by satanya@satania.space
2018-11-22T19:01:10.342138Z
0 likes, 0 repeats
What was nice: in my game I replaced (or rather extended) sprintf to allow parsing booleans and vectors with %b and %v.
(DIR) Post #1408486 by unicornhunt@switter.at
2018-11-22T19:12:08Z
1 likes, 0 repeats
@satanya I take it this is in a performance non-critical part of the game. Or I hope so anyway. sprintf, while convenient, is a real pig in resource usage. It drags in a lot of libraries for features you aren't actually using and does additional parsing of the format string for those same unused features.
(DIR) Post #1408488 by satanya@satania.space
2018-11-22T19:13:27.810090Z
0 likes, 0 repeats
@unicornhunt It's mainly for debugging, and I was sure to write my own sprintf implementation and add the only things I really needed.