vec_mem_heap

Crates.iovec_mem_heap
lib.rsvec_mem_heap
version0.1.4
sourcesrc
created_at2024-11-08 23:18:20.836328
updated_at2024-11-14 03:28:56.798953
descriptionA probably bad memory allocator wrapped in Rust's Vec<> because I don't know how to handle raw memory yet.
homepage
repositoryhttps://github.com/Karanstr/vec_mem_heap
max_upload_size
id1441663
size18,788
(Karanstr)

documentation

README

vec_mem_heap

An unfinished and probably bad memory allocator and ownership sharer wrapped in Rust's Vec because I don't know how to handle raw memory yet. Documentation was done a bit hastily, expect stuff like use examples to be added as I feel like it.

There should be two major reworks before this project is considered 'complete' (unless I think of more):

  • Removing the middle man (Vec<>) and handling memory management directly.
  • Adding multiple 'buckets' to hold data of different sizes to minimize fragmentation.

These changes could come in any order, at any time, so I wouldn't rely on this unless you're me until it hits version 1.

Docs: https://docs.rs/vec_mem_heap/0.1.3/vec_mem_heap/

Commit count: 13

cargo fmt