General

Profile

ahorek (Pavel Rosický)

  • Registered on: 01/26/2017
  • Last connection: 09/23/2019

Issues

Activity

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ý)

04/26/2019

09:12 PM Ruby master Feature #15166: 2.5 times faster implementation than current gcd implmentation
I'm curious if anyone have an explanation why the pure C version is 300% faster, but the ruby version of the same alg... 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ý)

02/22/2019

03:51 PM Ruby master Bug #15616: Chained destructive methods fail when using +@ to unfreeze a frozen string
```
+foo.gsub!("bar", "car")
```
stands for
```
+(foo.gsub!("bar", "car"))
```
and because foo is frozen, you...
ahorek (Pavel Rosický)

01/21/2019

08:58 AM Ruby master Feature #15553: Addrinfo.getaddrinfo supports timeout
thanks for this PR. Many requests for fully async support in stdlib are blocked by this.
I think on Windows 8+ we ...
ahorek (Pavel Rosický)

12/28/2018

06:23 PM Ruby master Feature #15166: 2.5 times faster implementation than current gcd implmentation
your micro-benchmarks aren't always fair, because some algorithms don't handle all edge cases, different data types e... ahorek (Pavel Rosický)
05:11 PM Ruby master Feature #15172: Performance: create method(s) to mimic __builtin_ctz compiler directive functionality
hi, such fallback already exists
https://github.com/ruby/ruby/commit/4cf460a7bb258d3d61414d2f74df4c0f83c6a3af
I d...
ahorek (Pavel Rosický)

Also available in: Atom