csabahenk.bsky.social
@csabahenk.bsky.social
January 3, 2025 at 2:20 AM
As for the ' Primitive.cexpr!' thingy, 3dccb71 brings this in, and the intent is pretty clear: do not rely on method calls that the user might redefine.
January 3, 2025 at 1:52 AM
The 'inline block' "pragma" is brought in by 27c1dd8, and AFAIU it's for enabling some inlinging for the YJIT compiler. (Yet, at the EOD, it's just a guess on my part).

...
January 3, 2025 at 1:52 AM
> I have no idea why the Primitive.cexpr! is used to return the enumerator, or what value Primitive.attr! :inline_block provides. Please comment if you have insights there!

By blaming "def times; ...; end" in numeric.rb, you can find out about the rationales .

...
January 3, 2025 at 1:52 AM