Issue #140 has been updated by Arthur Schreiber.

File set_bench.rb added

Attached the benchmark script.
----------------------------------------
Bug #140: [PATCH] Set#== performance improvement
http://redmine.ruby-lang.org/issues/show/140

Author: Arthur Schreiber
Status: Open
Priority: Normal
Assigned to: Akinori MUSHA
Category: Target version: Without this patch:

Set#== with Set:               2.350000   1.100000   3.450000 (  3.670881)
Set#== with SortedSet:         2.430000   1.100000   3.530000 (  3.721129)
SortedSet#== with SortedSet:   2.430000   1.090000   3.520000 (  3.778875)

With this patch:

Set#== with Set:               0.050000   0.000000   0.050000 (  0.048722)
Set#== with SortedSet:         2.230000   1.100000   3.330000 (  3.630617)
SortedSet#== with SortedSet:   0.040000   0.000000   0.040000 (  0.049494)


----------------------------------------
You have received this notification because you have either subscribed toit, or are involved in it.
To change your notification preferences, please click here: http://redmine.ruby-lang.org/my/account