Source
- URL: https://x.com/bmcnett/status/1738591742541414523
- Author: bmcnett (@bmcnett)
- Posted: 2023-12-23 16:05:47
Thread
1/ @bmcnett
even among performance minded folks, there’s a persistent myth that malloc is “pretty fast” when in fact it’s so performance hostile that big game productions ban it at link time, to eliminate the damage it causes
Branches: 2023-12-23-SimonWagar-how-can-you-ban-that-at-link-time, 2023-12-23-NOTimothyLottes-perf-enlightment-happens-when-you-no-longer-use, 2023-12-23-MattsPlayCorner-any-performance-minded-person-should-know-that, 2023-12-23-sergei_am-consoles-pc-people-or-current-gen-console-folks, 2023-12-23-tom_forsyth-right-at-the-start-of-a-project-add-a-few-million, 2023-12-23-EskilSteenberg-yes-you-should-use-malloc-sparingly-i-see-a-lot, 2023-12-24-jcoplien-btw-its-usually-not-malloc-that-kills-you-its-free, 2023-12-24-joadnacer-writing-a-reasonably-performant-memory-allocator, 2023-12-25-lectem-malloc-actually-is-pretty-fast-on-most, 2023-12-30-__malkia__-you-need-it-in-tools-its-impossible-to-produce