• Yukihiro "Matz" Matsumoto's avatar
    Add `MRB_METHOD_TABLE_INLINE` option. · 8f2c6240
    Yukihiro "Matz" Matsumoto authored
    Now the method tables (in classes/modules and caches) keeps C function
    pointers without wrapping in `struct RProc` objects. For the sake of
    portability, `mrb_method_t` is represented by the struct and union, but
    if the most significant bit of the pointer is not used by the platform,
    `mrb_method_t` should be packed in `uintptr_t` to reduce memory usage.
    
    `MRB_METHOD_TABLE_INLINE` is turned on by default for linux.
    8f2c6240
mruby.h 42.1 KB