vec_mem_heap

Crates.iovec_mem_heap
lib.rsvec_mem_heap
version0.1.3
sourcesrc
created_at2024-11-08 23:18:20.836328
updated_at2024-11-09 04:31:46.244235
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,532
(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.

Commit count: 10

cargo fmt