Age | Commit message (Collapse) | Author |
|
This is different to vec{capacity}, which would adjust vec::size.
This adjusts vec::capacity instead, which is what I want.
|
|
Abstracting the interface more, such that callers can use functions
rather than accessing internals directly, allows me to refactor the
allocator without having to do a ton of edits all across the source
tree.
|
|
|
|
Not very useful, but isn't a massive performance waster (I think) and
it will be useful when thinking about colour schemes in graphics.
|
|
Bit of a cheat but it would allow us to do some interesting graphical
stuff later.
|
|
Simple implementation, few refactors from the main.cpp version based
on API changes.
|