summaryrefslogtreecommitdiffhomepage
path: root/mrblib
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-09-26 11:14:36 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2018-09-26 23:09:48 +0900
commitd78acc7afed35813f25e3091150dab668c373f05 (patch)
tree5d9c5651b8b00aa2f7f3245817d67dd3662b4ab3 /mrblib
parent8ffd4e47fb1c18088e554d31e8af88881517a201 (diff)
downloadmruby-d78acc7afed35813f25e3091150dab668c373f05.tar.gz
mruby-d78acc7afed35813f25e3091150dab668c373f05.zip
Add index to larger segment lists for performance
Diffstat (limited to 'mrblib')
-rw-r--r--mrblib/hash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrblib/hash.rb b/mrblib/hash.rb
index eba92ba4a..245b76ee0 100644
--- a/mrblib/hash.rb
+++ b/mrblib/hash.rb
@@ -334,7 +334,7 @@ class Hash
# h["AA"] #=> "b"
#
def rehash
- self.size
+ # do nothing (for now)
self
end
end