tiby312 / broccoli-project

MIT License
79 stars 2 forks source link

talk about allocators #80

Closed tiby312 closed 3 years ago

tiby312 commented 3 years ago

Assume the allocator is slow.

Help recycle Vecs to lessen the number of allocations during recursing.

Using something like jemalloc can give you a false sense of how fast allocators are in general. You dont want your library to be tied to a specific allocation library like jemalloc.

tiby312 commented 3 years ago

maybe also add allocation documentation to the functions that allocate things?????