| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-02-06 | std.mem.Allocator: introduce `remap` function to the interface | Andrew Kelley | |
| This one changes the size of an allocation, allowing it to be relocated. However, the implementation will still return `null` if it would be equivalent to new = alloc memcpy(new, old) free(old) Mainly this prepares for taking advantage of `mremap` which I thought would be a bigger deal but apparently is only available on Linux. Still, we should use it on Linux. | |||
| 2025-02-06 | adjust runtime page size APIs | Andrew Kelley | |
| * fix merge conflicts * rename the declarations * reword documentation * extract FixedBufferAllocator to separate file * take advantage of locals * remove the assertion about max alignment in Allocator API, leaving it Allocator implementation defined * fix non-inline function call in start logic The GeneralPurposeAllocator implementation is totally broken because it uses global state but I didn't address that in this commit. | |||
