General

Profile

brightbits (Michael Baldry)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 1 2

Activity

06/07/2024

05:56 PM Ruby Misc #20519: Porting regexp to pure ruby?
I was at the kaigi but unfortunately missed that talk! I didn't realise a few weeks later I'd be digging in to it :) Looks like some interesting work has gone in to this area already. I'm going to spend some time looking in to this.
...
brightbits (Michael Baldry)

06/04/2024

06:26 AM Ruby Misc #20519: Porting regexp to pure ruby?
shyouhei (Shyouhei Urabe) wrote in #note-1:
> Ruby (especially its multilingualized string) is built on top of Onigmo and not vice versa. You must first decouple them, which alone is not an easy task.
Ah yes, I see now that everythi...
brightbits (Michael Baldry)

06/03/2024

10:00 AM Ruby Misc #20519 (Feedback): Porting regexp to pure ruby?
Would there be any benefit in porting Regexp from Onigmo to a pure ruby implementation that could benefit from YJIT?
Compiling a pattern could be translating to a ruby method which would be optimized by YJIT easily.
Has this been...
brightbits (Michael Baldry)

12/16/2021

09:07 AM Ruby Feature #18410: Proposal to make inspect include underscores on numerics
sawa (Tsuyoshi Sawada) wrote in #note-4:
> In agreement with mame's comment, even if we can come to an agreement on the spec, I think it should be a property of pretty print rather than normal inspection. If there is need to make the nu...
brightbits (Michael Baldry)
09:02 AM Ruby Feature #18410: Proposal to make inspect include underscores on numerics
mame (Yusuke Endoh) wrote in #note-2:
> Thousands separators may vary depending on locales. See the discussion of #16011.
> ...
As mentioned by Martin, I was proposing always using _, as you can in Ruby code, not any kind of locale spe...
brightbits (Michael Baldry)

12/15/2021

09:30 PM Ruby Feature #18410 (Open): Proposal to make inspect include underscores on numerics
The documentation for inspect reads "Returns a string containing a human-readable representation of obj." but for large numerical values, while 964218442 is human-readable, 964_218_442 is a lot more readable. The language allows the use ... brightbits (Michael Baldry)

02/26/2015

01:06 PM Ruby Bug #10908: Addrinfo.new appears to ignore the afamily argument when using a String for sockaddr
Yorick Peterse wrote:
> When creating a new `Addrinfo` instance the `new` class method appears to ignore
> ...
I have confirmed this on ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
After some investigation, the afam...
brightbits (Michael Baldry)

Also available in: Atom