Sinistraverso
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Performance@programming.devbyMac@programming.dev
2 years

Bump Allocation: Up or Down?

coredumped.dev
0
    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.
    You must log in or register to comment.

    Performance@programming.dev

    performance@programming.dev

    Subscribe from remote instance

    Create post

    Report community

    Modlog
    You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !performance@programming.dev

    A community for posts relating to performance

    Wormhole

    !programming@programming.dev

    Visibility: Public

    This community is visible to everyone.

    • Italiano
    • 0 users / Day
    • 2 users / Week
    • 2 users / Month
    • 2 users / 6 months
    • 10 posts
    • 0 comments
    • 0 local subscribers
    • 1.65K subscribers
    • Mods:
    • Ategon@programming.dev
    • UI: -nightly-2026-07-20
    • BE: 1.0.0-nightly-2026-07-23
    • Modlog
    • Instances
    • Docs
    • Code
    • join-lemmy.org