General

Profile

ana06 (Ana Maria Martinez Gomez)

  • Login: ana06
  • Registered on: 11/10/2017
  • Last sign in: 05/10/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 14 15

Activity

05/14/2020

09:00 PM Ruby Feature #16851: Ruby hashing algorithm could be improved using Tabulation Hashing
@byroot
> I'd suggest running the hash related benchmarks included in ruby's repo: https://github.com/ruby/ruby/tree/master/benchmark
For most of the benchmarks, this changes doesn't make much of a different because they are either too...
ana06 (Ana Maria Martinez Gomez)

05/12/2020

06:17 PM Ruby Bug #16850: Object#hash doesn't behave as documented
That looks good to me :+1: I may add String as well (such as Integer and String). ana06 (Ana Maria Martinez Gomez)
05:25 PM Ruby Bug #16850 (Closed): Object#hash doesn't behave as documented
From [Ruby 2.7 Object class documentation](https://ruby-doc.org/core-2.7.0/Object.html#method-i-hash):
>The hash value is used along with eql? by the Hash class to determine if two objects reference the same hash key.
From this I exp...
ana06 (Ana Maria Martinez Gomez)
05:55 PM Ruby Feature #16851 (Feedback): Ruby hashing algorithm could be improved using Tabulation Hashing
I have implemented Linear Probing and Simple tabulation in Ruby: https://github.com/Ana06/ruby/compare/master...Ana06:tabulation
I tested it using the following code:
https://github.com/Ana06/ruby-tabulation/blob/master/benchmark_tab...
ana06 (Ana Maria Martinez Gomez)

05/07/2020

06:15 PM Ruby Bug #16840 (Closed): Decrease in Hash#[]= performance with object keys
I was playing around with Ruby hashing and I have discovered something strange/surprising.
The file ``test.rb`` looks like:
```ruby
require 'benchmark'
$N = 100000
class Ana
end
objects = Array.new($N) { Ana.new() }
ha...
ana06 (Ana Maria Martinez Gomez)

04/17/2020

04:20 PM Ruby Bug #16788: T_CLASS counts classes double
Thank you so much for the explanations @jeremyevans0 @Eregon!!!! ana06 (Ana Maria Martinez Gomez)

04/16/2020

11:24 AM Ruby Bug #16788: T_CLASS counts classes double
@jeremyevans0 thank you so much for your answer. Why are two singleton classes created and why only the second one is accesible to the user?
Also, could you please tell me how do you do to see the debugger output?
ana06 (Ana Maria Martinez Gomez)

04/15/2020

05:22 PM Ruby Bug #16788 (Rejected): T_CLASS counts classes double
Consider the following code:
``` ruby
h = {}
ObjectSpace.count_objects(h)
puts "Counts: #{ h[:T_CLASS] }, #{ h[:T_ICLASS] }"
objects = []
classes = []
ObjectSpace.each_object(Object){|x| objects << x}
ObjectSpace.each_object(...
ana06 (Ana Maria Martinez Gomez)

06/13/2019

12:27 PM Ruby Bug #15436: Tests failing in `make check`
this can be closed ana06 (Ana Maria Martinez Gomez)
12:27 PM Ruby Bug #15442: irb behaves strange in Ruby 2.6
this can be closed ana06 (Ana Maria Martinez Gomez)

Also available in: Atom