GoThread
appearance log in
home all local communities
c/performance@programming.dev

Performance

log in to join
follow from another instance

Not on this instance? Enter your own instance's domain to go straight to following c/performance@programming.dev there.

hashtags

#performance
0
c/performance@programming.dev · mac@programming.dev · 26 Mar 2024 14:18

Bump Allocation: Up or Down?

#performance
Bump Allocation: Up or Down? Back in 2019, Nick Fitzgerald published always bump downwards, an article making the case that for bump allocators, bumping “down” (towards lower addresses) is better than bumping up. The biggest reasons for this are bumping up requires 3 branches vs 2 for bumping down and rounding down requires fewer instructions than rounding up. This became the method used for the popular bumpalo crate. In this post, I want to go back and revisit that analysis. coredumped.dev

check post at origin

0 comments

0 comments

log in to comment.

about

A community for posts relating to performance

Wormhole

!programming@programming.dev

members
1727
posts
45
created
21 Jul 2023
active / week
0
active / month
0

moderators

  • @Ategon@programming.dev
  • @agilob@programming.dev

rss · modlog

GoThread · self-hosted threadiverse · instances · modlog · rss · appearance · AGPL-3.0