Conversation
|
If you haven't before, consider checking out: https://github.com/Gankro/raw-rs/tree/master/src/alloc |
|
Also I'm wondering: why try to roll our own allocators before @pnkfelix is done their research into the matter? |
|
To the first point: Thanks! I hadn't seen To the second point: It seemed to me that |
There was a problem hiding this comment.
You can just check if new size >= desired size here.
|
Is there any feedback in particular you're interested in at this stage? |
|
Some quick notes:
|
|
Feel free to re-open this if you find the time to flesh it out more. |
This includes a (mostly) ported version of
Vec. Currently, there is no documentation and the doc tests onVecfail.