33 lines
2.6 KiB
Markdown
33 lines
2.6 KiB
Markdown
---
|
|
title: "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"
|
|
type: archive
|
|
source: twitter
|
|
source_url: "https://x.com/bmcnett/status/1738591742541414523"
|
|
author: "bmcnett"
|
|
handle: bmcnett
|
|
post_id: "1738591742541414523"
|
|
date: 2023-12-23
|
|
archived: 2026-08-26
|
|
draft: false
|
|
tags:
|
|
- archive
|
|
- twitter
|
|
- bmcnett
|
|
description: "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"
|
|
in_reply_to: ""
|
|
---
|
|
|
|
## Source
|
|
|
|
- URL: https://x.com/bmcnett/status/1738591742541414523
|
|
- Author: bmcnett (@bmcnett)
|
|
- Posted: 2023-12-23 16:05:47
|
|
|
|
## 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]]
|