General

Profile

keithrbennett (Keith Bennett)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 3 1 4

Activity

11/07/2023

07:24 AM Ruby Revision 78e07e29 (git): [ruby/English] Combine duplicate aliases into single sections to more clearly denote sameness and make more concise.
https://github.com/ruby/English/commit/dcff090f6f keithrbennett (Keith Bennett)

04/22/2021

02:51 AM Ruby Revision 4f39a35b (git): [ruby/benchmark] Add comment about terminating newline in captions; fix test method name.
https://github.com/ruby/benchmark/commit/02ce298d3e keithrbennett (Keith Bennett)

02/22/2021

12:15 AM Ruby Feature #16428: Add Array#uniq?, Enumerable#uniq?
I was just going to post this suggestion, but saw that it was already here.
`uniq?` could be helpful, for example, where you are loading objects from an external source (e.g. from JSON or YAML), and you need to verify that the objects...
keithrbennett (Keith Bennett)

02/16/2021

05:37 AM Ruby Feature #17627: Suggestion: Implement `freeze_values` instance method on collection-like classes.
I don't think the `Ractor#make_shareable` method and the `shareable_constant_value` pragma address this issue, for a few reasons:
1) they do a recursive deep freeze; `freeze_values` is just for a single level freeze; that is, call `fr...
keithrbennett (Keith Bennett)

02/15/2021

09:40 PM Ruby Bug #17497: Ractor performance issue
Koichi -
Huge improvement! Thank you!
I installed Ruby head and now have the following output from `ruby -v`:
```
ruby 3.1.0dev (2021-02-15T09:29:35Z master 37b90bcdc1) [x86_64-linux]
```
I made minor modifications to your ...
keithrbennett (Keith Bennett)

02/14/2021

01:31 AM Ruby Feature #17627: Suggestion: Implement `freeze_values` instance method on collection-like classes.
Discussion of the related but different `deep_freeze` feature suggestion is at https://bugs.ruby-lang.org/issues/17145.
keithrbennett (Keith Bennett)
01:20 AM Ruby Feature #17627 (Open): Suggestion: Implement `freeze_values` instance method on collection-like classes.
Suggestion: Implement `freeze_values` instance method on collection-like classes.
By collection-like classes, I mean classes such as Array, Hash, Set, Struct, OpenStruct, and custom classes containing multiple objects.
There has be...
keithrbennett (Keith Bennett)

02/08/2021

04:06 AM Ruby Feature #17601 (Closed): lib/benchmark: adding `Benchmark::Tms#to_h`
Applied in changeset commit:git|3a7ff66abc0c389851ab3c5cd0ac53ebe0647eec.
----------
[ruby/benchmark] Adds `Tms#to_h`
[Feature #17601]
keithrbennett (Keith Bennett)
04:06 AM Ruby Revision 3a7ff66a (git): [ruby/benchmark] Adds `Tms#to_h`
[Feature #17601] keithrbennett (Keith Bennett)

01/31/2021

08:57 PM Ruby Bug #17497: Ractor performance issue
@ko1 - My apologies for not responding sooner. I guess I have not configured this forum correctly to receive notifications, I'll look into that.
I've tested my benchmark against Ruby head, and performance with multiple cores seem to h...
keithrbennett (Keith Bennett)

Also available in: Atom