fablestales (Fable Tales)
- Login: fablestales
- Registered on: 02/26/2024
- Last sign in: 02/26/2024
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
03/14/2024
-
02:05 PM Ruby Bug #20338 (Closed): certain **kwsplat calls have regressed allocations over past few ruby releases
- Given this script:
```
class Foo
def initialize(**kwargs)
end
end
class Bar
def initialize(y:)
end
end
b = GC.stat[:total_allocated_objects]
1000.times {
Foo.new(y:1)
}
p GC.stat[:total_allocated_objects]-b
...
02/26/2024
-
07:28 PM Ruby Bug #20305: commit 1d2d25dcadda0764f303183ac091d0c87b432566 breaks grapheme_clusters
- I added a failing test to reproduce this issue in this PR: https://github.com/ruby/ruby/pull/10103
-
07:02 PM Ruby Bug #20305: commit 1d2d25dcadda0764f303183ac091d0c87b432566 breaks grapheme_clusters
- fablestales (Fable Tales) wrote:
> given a script:
> ...
to clarify: grapheme_clusters used to ignore partial characters from a byteslice, now it does not. -
06:58 PM Ruby Bug #20305 (Closed): commit 1d2d25dcadda0764f303183ac091d0c87b432566 breaks grapheme_clusters
- given a script:
```
#script.rb
p "안녕".byteslice(0, 4).grapheme_clusters
```
The commit 1d2d25dcadda0764f303183ac091d0c87b432566 (https://github.com/ruby/ruby/commit/1d2d25dcadda0764f303183ac091d0c87b432566) breaks the grapheme_clu...
08/15/2022
-
10:41 PM Ruby Revision e49db0f7 (git): Do not clone method entries when bind_call is used
- I noticed that this site unconditionally clones the method entry, which
means that `bind_call` always allocates a `T_IMEMO`. While this clone
is necessary for `bind`, it is not necessary for `bind_call`.
I work at Stripe, and the sorbet...