Y
Hacker News
new
|
ask
|
show
|
jobs
by
tialaramex
780 days ago
That's the (nightly) Allocator::allocate, but the API we were looking at is (stable) GlobalAlloc::alloc
Yes I'm aware that I can ask how long a slice is.
1 comments
pitaj
780 days ago
Ah gotcha. Yeah `GlobalAlloc` is known to be non-ideal. Hopefully we can get a better API soon.
link