Files
mruby-mruby/include/mruby
dearblue 328eb71e52 Reorganize mrb_cache_entry and mrb_method_t types
The purpose is to remove the `mid` field from the `mrb_cache_entry` structure.
The resulting RAM requirement for the method cache is reduced from 5 words per entry to 4 words per entry for 32-bit CPUs.

The relevant changes are as follows:

  - Removed `MRB_USE_METHOD_T_STRUCT`.

    The `mrb_method_t` type is now always defined as a structure.

  - Include method IDs in `mrb_method_t`

    Change the `flags` member to `uint32_t`.
    The bitstring structure should be the same as the keys of the `mt` table in `class.c`.

I believe the impact on API compatibility with previous versions is minimal.
2024-03-30 18:19:26 +09:00
..
2022-01-02 11:52:19 +09:00
2020-11-17 12:41:10 +09:00
2023-05-03 22:12:59 +10:00
2023-05-03 22:12:59 +10:00
2023-09-09 14:31:13 +09:00
2022-12-03 14:26:05 +09:00
2019-08-18 20:12:44 +09:00