brunoe (Bruno Escherl)
- Login: brunoe
- Email: bruno@escherl.net
- Registered on: 07/26/2015
- Last sign in: 11/17/2019
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
11/17/2019
-
12:54 PM Ruby Bug #16351 (Closed): Why do Keyword arguments to initialize allocate a Hash, but not for other methods?
- Hello, while working on improving memory allocations in one of my apps, I stumbled upon the following behavior. I measured three different ways of passing variables to a new `Object`, using plain params, using a hash and using keyword ar...
07/27/2015
-
07:51 PM Ruby Bug #11396: Bad performance in ruby >= 2.2 for Hash with many symbol keys
- Eric Wong wrote:
> Possible fix is to memoize hashval inside struct RSymbol:
> ...
Hi Eric, I compiled the ruby_2_2 branch with your patch and got the following results
ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-darwin14.0]
...
07/26/2015
-
06:16 PM Ruby Bug #11396 (Closed): Bad performance in ruby >= 2.2 for Hash with many symbol keys
- This started out as an issue on stackoverflow, where I found strange performance anomalies when comparing Set.include? and Array.include? in different ruby versions: http://stackoverflow.com/questions/31631284/performance-anomaly-in-ruby...