summaryrefslogtreecommitdiffhomepage
path: root/src/variable.c
AgeCommit message (Expand)Author
2021-12-04variable.c: reduce array access in iv hash table.Yukihiro "Matz" Matsumoto
2021-12-03variable.c: avoid `mrb_undef_value()` for delete entries.Yukihiro "Matz" Matsumoto
2021-12-03variable.c: remove `size` member from `iv_tbl` to reduce memory.Yukihiro "Matz" Matsumoto
2021-12-03variable.c: first iv allocation size should be 4 instead of 1.Yukihiro "Matz" Matsumoto
2021-12-03variable.c: should not access `NULL[0]` to avoid asan warnings.Yukihiro "Matz" Matsumoto
2021-12-01variable.c: reduce memory usage of instance variable tableYukihiro "Matz" Matsumoto
2021-06-17variable.c: add `skip` argument to skip `base` class in lookup.Yukihiro "Matz" Matsumoto
2021-06-17variable.c: refactor `mrb_vm_const_get` function.Yukihiro "Matz" Matsumoto
2021-06-17variable.c: skip prepended module for constant lookup.Yukihiro "Matz" Matsumoto
2021-04-03chore: fix spellingJohn Bampton
2021-01-26Revert "Minimize the changes in #5277"Yukihiro "Matz" Matsumoto
2021-01-22Minimize the changes in #5277Yukihiro "Matz" Matsumoto
2021-01-11Avoid including `presym.inc` in existing header filesKOBAYASHI Shuji
2020-11-12Remove unused argument of `mrb_obj_iv_tbl_memsize`KOBAYASHI Shuji
2020-10-12Use hash table instead of segment list for instance variables.Yukihiro "Matz" Matsumoto
2020-10-12Generate C struct from `irep` instead of binary dump.Yukihiro "Matz" Matsumoto
2020-10-12Add functions that take symbols as arguments.Yukihiro "Matz" Matsumoto
2020-10-12Add `MRB_SYM()` for inline symbols.Yukihiro "Matz" Matsumoto
2020-08-11Fix `mrb_int` and `size_t` combination warnings.Yukihiro "Matz" Matsumoto
2020-07-24Change the logic to calculate object (`iv_tbl`) size; #5045Yukihiro "Matz" Matsumoto
2020-07-24Merge pull request #5045 from dearblue/memsize_ofYukihiro "Matz" Matsumoto
2020-07-24Avoid using FPU with `mruby-os-memsize`; ref #5032dearblue
2020-07-22Use more `mrb_field_write_barrier` for instance variables.Yukihiro "Matz" Matsumoto
2020-07-13Use object iv table size in calculationRory OConnell
2019-11-16Revert "Implement Ruby2.7's frozen strings from `Symbol#to_s`"KOBAYASHI Shuji
2019-10-20Use `mrb_str_cat_str` instead of `mrb_str_concat` if possibleKOBAYASHI Shuji
2019-10-16Use `mrb_sym_name_len` instead of `mrb_sym_name` in `assign_class_name`KOBAYASHI Shuji
2019-10-08Implement Ruby2.7's frozen strings from `Module#name`KOBAYASHI Shuji
2019-09-26Use type predicate macros instead of `mrb_type` if possibleKOBAYASHI Shuji
2019-09-25Rename symbol-to-string functions; close #4684Yukihiro "Matz" Matsumoto
2019-09-20Fix compatibility issue of class variables.Yukihiro "Matz" Matsumoto
2019-09-20Add optional argument to `Module#class_variables`.Yukihiro "Matz" Matsumoto
2019-09-09Fix `mod.constants` not to have duplicate constant names; #4698Yukihiro "Matz" Matsumoto
2019-08-11Revert "Should have cleared `mrb->globals` in `mrb_gc_free_gv`; fix #4618"Yukihiro "Matz" Matsumoto
2019-08-06Should have cleared `mrb->globals` in `mrb_gc_free_gv`; fix #4618Yukihiro "Matz" Matsumoto
2019-08-05Use new specifiers/modifiers of `mrb_vfromat()`KOBAYASHI Shuji
2019-06-25Fixed `mrb_iv_remove` with immediate objects; fix #4519Yukihiro "Matz" Matsumoto
2019-06-16Fix cvar, ivar, const and method can be removed to frozen objectKOBAYASHI Shuji
2019-06-10`Kernel#global_variables` should not include undefined `$1`-`$9`KOBAYASHI Shuji
2019-05-15Merge pull request #4400 from shuujii/fix-name-assignment-to-frozen-anonymous...Yukihiro "Matz" Matsumoto
2019-04-24Fix modiying class variable to frozen class/moduleKOBAYASHI Shuji
2019-04-23Fix name assignment to frozen anonymous class/moduleKOBAYASHI Shuji
2019-04-14Fix wrong size of instance variable if occur out of memorydearblue
2019-04-14Remove pointer check after `mrb_malloc()`dearblue
2019-04-10Merge pull request #4367 from shuujii/extract-frozen-checking-to-functionYukihiro "Matz" Matsumoto
2019-04-10Use the old style declaration; ref #4365Yukihiro "Matz" Matsumoto
2019-04-09Extract frozen checking to functionKOBAYASHI Shuji
2019-04-01Fix modifiable class nameKOBAYASHI Shuji
2019-03-26Fix missing `MRB_API` prefix for functions below; clse #4267Yukihiro "Matz" Matsumoto
2019-03-17Fix class/instance variable name validationKOBAYASHI Shuji