Files
T
2026-08-26 12:04:37 -04:00

2.6 KiB

title, type, source, source_url, author, handle, post_id, date, archived, draft, tags, description, in_reply_to
title type source source_url author handle post_id date archived draft tags description in_reply_to
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 archive twitter https://x.com/bmcnett/status/1738591742541414523 bmcnett bmcnett 1738591742541414523 2023-12-23 2026-08-26 false
archive
twitter
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

Source

Thread

1/ @bmcnett ^1738591742541414523

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: archive/threads/bmcnett/2023-12-23-even-among-performance-minded-folks-theres-a/2023-12-23-SimonWagar-how-can-you-ban-that-at-link-time, archive/threads/bmcnett/2023-12-23-even-among-performance-minded-folks-theres-a/2023-12-23-NOTimothyLottes-perf-enlightment-happens-when-you-no-longer-use, archive/threads/bmcnett/2023-12-23-even-among-performance-minded-folks-theres-a/2023-12-23-MattsPlayCorner-any-performance-minded-person-should-know-that, archive/threads/bmcnett/2023-12-23-even-among-performance-minded-folks-theres-a/2023-12-23-sergei_am-consoles-pc-people-or-current-gen-console-folks, archive/threads/bmcnett/2023-12-23-even-among-performance-minded-folks-theres-a/2023-12-23-tom_forsyth-right-at-the-start-of-a-project-add-a-few-million, archive/threads/bmcnett/2023-12-23-even-among-performance-minded-folks-theres-a/2023-12-23-EskilSteenberg-yes-you-should-use-malloc-sparingly-i-see-a-lot, archive/threads/bmcnett/2023-12-23-even-among-performance-minded-folks-theres-a/2023-12-24-jcoplien-btw-its-usually-not-malloc-that-kills-you-its-free, archive/threads/bmcnett/2023-12-23-even-among-performance-minded-folks-theres-a/2023-12-24-joadnacer-writing-a-reasonably-performant-memory-allocator, archive/threads/bmcnett/2023-12-23-even-among-performance-minded-folks-theres-a/2023-12-25-lectem-malloc-actually-is-pretty-fast-on-most, [[archive/threads/bmcnett/2023-12-23-even-among-performance-minded-folks-theres-a/2023-12-30-malkia-you-need-it-in-tools-its-impossible-to-produce]]