mirror of
https://github.com/microsoft/edit.git
synced 2026-06-17 11:30:58 -05:00
8187dea4d1e0fab419ebaac7a96ef58412ac2fbb
It is funny to ballpark the cost of heap allocations on Windows and realize you're 10x off. mimalloc shows that it could be way better. Well, in mimalloc's absence, this PR does the next best thing: A cheap arena/bump allocator. Works great for building the UI tree, and makes the lifetime management a bit better. There's one hotspot left in `render_node` which still allocates `String`s to create fills. Would be great if Rust had better allocator support though.......
MS-DOS Editor Redux
TBA