Crate rb_allocator
source · [−]Expand description
Allocator which reports mem usage to the Ruby GC
This crate exports, one type, RbAllocator
, which implements the GlobalAlloc
trait. It is a
simple wrapper over the system allocator which reports memory usage to Ruby using
rb_gc_adjust_memory_usage