The constant pool starts at source size / 120 entries, 4 at the least, and doubles at a load of 3/4; each outgrown pair of arrays stays in the metadata arena. An embedder that interns a fixed set of names into the pool at every parse (mr...hasumikin (hitoshi hasumi)
61ebe5123 made defines.h include <sys/types.h> ahead of <inttypes.h>: with an arm-none-eabi toolchain whose <stdint.h> is GCC's own, newlib's <inttypes.h> never sees the marker it tests before defining the 64-bit PRI macros, and PRIu64 g...hasumikin (hitoshi hasumi)
The arena's first block is 8 KB, sized for a host. An embedder on a small heap parses short programs (a REPL line uses about 6 KB in two arenas) and pays two 8 KB blocks for each; with the constant under #ifndef it can build with -DPM_AR...hasumikin (hitoshi hasumi)
## Description A method that read a class variable once reads it again after `remove_class_variable`. The second read does not raise NameError. It returns a broken value, and a use of that value causes a segmentation fault. ## Step...hasumikin (hitoshi hasumi)
PR: (WIP) ### What this adds This ticket adds the run-length methods of the String bit operation API. A run is a maximal sequence of consecutive bits with the same value. The methods build on the region arguments of #22279 and on t...hasumikin (hitoshi hasumi)
* [Feature #22399] Iterator Methods for String Bit Operations (hasumikin) * Proposed new methods `each_bit`, `bits`, `each_bit_offset` and `bit_offsets` for String * They are the iterator forms of the single-bit read methods merged i...hasumikin (hitoshi hasumi)
PR URL: https://github.com/ruby/ruby/pull/19161 ### What this adds The original proposal (#22082) listed this iterator group. Matz asked for a minimal subset in #22082#note-13, and the proposal deferred the group in #22082#note-14....hasumikin (hitoshi hasumi)
Applied in changeset commit:git|03a426ec8d30929558bf1244b4ad95eb7e1f54d2. ---------- [Feature #22279] Add region arguments to String bit operations (#18562) This patch extends the following String methods: * String#bit_set(offset, len...hasumikin (hitoshi hasumi)
* [Feature #22279] Region (Length / Range) Arguments for String Bit Operations (hasumikin) * Follow-up to [Feature #22118] (String bit operations, accepted): adds `(offset, length)` and Range overloads to `bit_set` / `bit_clear`...hasumikin (hitoshi hasumi)