General

Profile

ahorek (Pavel Rosický)

  • Login: ahorek
  • Registered on: 01/26/2017
  • Last connection: 09/29/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 3 12 15

Activity

08/11/2020

02:40 PM Ruby master Bug #17114: Float is not properly kept as integer when integer is added without space
Hi, it's not a bug. +-1 is a precision argument.
```
irb> 12.34.floor(-1)
=> 10
irb> 12.34.floor(+1)
=> 12.3
...
ahorek (Pavel Rosický)

07/29/2020

01:57 PM Ruby master Bug #17057 (Open): CGI different behaviour with C vs Ruby version
```
irb(main):001:0> require 'cgi' # don't load a native extension
irb(main):002:0> CGI.unescapeHTML("\xFF&")
=> A...
ahorek (Pavel Rosický)

01/10/2020

02:12 PM Ruby master Misc #16487: Potential for SIMD usage in ruby-core
> use __target__ attributes
thanks for the links, very helpful
> It's unfortunate the C compiler cannot do this...
ahorek (Pavel Rosický)
11:35 AM Ruby master Misc #16487: Potential for SIMD usage in ruby-core
> Could you extend on that ? I'm not sure I understand what you mean here.
for maximum portability, you should use...
ahorek (Pavel Rosický)
05:09 AM Ruby master Misc #16487: Potential for SIMD usage in ruby-core
> Do you have any practical applications whose performance is significantly improved by the SIMD hacks? I'm unsure ab... ahorek (Pavel Rosický)

07/31/2019

06:51 PM Ruby master Feature #15631: Let round_capa for ID table not allocate excess capacity for power of 2 ints >= 4
I run several benchmark suites for both patches
https://github.com/ruby-bench/ruby-bench-suite
https://github.com/s...
ahorek (Pavel Rosický)

07/19/2019

03:23 PM Ruby master Feature #15631: Let round_capa for ID table not allocate excess capacity for power of 2 ints >= 4
I've attached the second patch for st_init_table_with_size. In theory it should be faster, but I can't measure any di... ahorek (Pavel Rosický)

07/18/2019

11:55 PM Ruby master Feature #15631: Let round_capa for ID table not allocate excess capacity for power of 2 ints >= 4
Thanks for the review Koichi. I tested the patch on a rails app (redmine), but unfortunatelly there's no improvement.... ahorek (Pavel Rosický)

05/08/2019

02:21 PM Ruby master Feature #15836: [Proposal] Make Module#name and Symbol#to_s return their internal fstrings
@byroot thanks for sharing the benchmark!
IMO module names should be frozen
even if it's easy to fix, this chan...
ahorek (Pavel Rosický)

03/01/2019

01:48 PM Ruby master Feature #15631 (Closed): Let round_capa for ID table not allocate excess capacity for power of 2 ints >= 4
right now round_capa value is rounded up to the next power of 2
```
round_capa(4) -> returns 8
round_capa(8) -> re...
ahorek (Pavel Rosický)

Also available in: Atom