Get the latest tech news

Swapping two blocks of memory inside a larger block, in constant memory


Jan 1, 2026 Post comments count0 Post likes count0 Swapping two blocks of memory that reside inside a larger block, in constant memory Raymond Chen A variation on the constant-memory rotation..

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Memory

Memory

Photo of blocks

blocks

Photo of constant memory

constant memory

Related news:

News photo

Brave overhauled its Rust adblock engine with FlatBuffers, cutting memory 75%

News photo

Linux Addressing Out-Of-Memory Killer Inaccuracy On Large Core Count Systems

News photo

An experiment in separating identity, memory, and tools