General

Profile

byroot (Jean Boussier)

Issues

open closed Total
Assigned issues 0 1 1
Reported issues 15 27 42

Activity

Today

08:09 AM Ruby master Feature #5446: at_fork callback API
@mame I created https://bugs.ruby-lang.org/issues/17795, let me know if it makes sense to you, in which case I'll upd... byroot (Jean Boussier)
06:52 AM Ruby master Feature #5446: at_fork callback API
@mame I'll do it. byroot (Jean Boussier)
08:09 AM Ruby master Feature #17795 (Open): `before_fork` and `after_fork` callback API
Replaces: https://bugs.ruby-lang.org/issues/5446
### Context
Ruby code in production is very often running in a...
byroot (Jean Boussier)

04/10/2021

03:17 PM Ruby master Feature #17790: Have a way to clear a String without resetting its capacity
> My feeling is handling the capacity in Ruby code feels wrong and like C++ code.
This is really meant for the few l...
byroot (Jean Boussier)
07:47 AM Ruby master Feature #17785: Allow named parameters to be keywords
> the number of keywords is very low, which means that the cases where using a keyword as an argument name makes sens... byroot (Jean Boussier)

04/09/2021

09:28 PM Ruby master Feature #17790: Have a way to clear a String without resetting its capacity
> so providing a capacity method gives more control over how to expand memory
Agreed. Without also exposing the c...
byroot (Jean Boussier)
11:30 AM Ruby master Feature #17790: Have a way to clear a String without resetting its capacity
Proposed patch: https://github.com/ruby/ruby/pull/4373 byroot (Jean Boussier)
10:42 AM Ruby master Feature #17790 (Open): Have a way to clear a String without resetting its capacity
In some tight loop it can be useful to re-use a buffer string. For instance:
```ruby
buffer = String.new(encoding...
byroot (Jean Boussier)
01:04 PM Ruby master Feature #17785: Allow named parameters to be keywords
Arguably it's a bit of a stretch, but how would you handle: `foo(class_, class:)`?
What if instead of mangling the...
byroot (Jean Boussier)

04/08/2021

01:05 PM Ruby master Misc #17734: DevelopersMeeting20210416Japan
- [Feature #5446] at_fork callback API
- I proposed a simple alternative that is to have `Kernel.fork` be a simple...
byroot (Jean Boussier)

Also available in: Atom