You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -408,7 +408,7 @@ Comparison:
408
408
409
409
### Hash
410
410
411
-
#### `Hash#[]` vs `Hash.fetch`[code](code/hash/bracket-vs-fetch.rb)
411
+
#####`Hash#[]` vs `Hash.fetch`[code](code/hash/bracket-vs-fetch.rb)
412
412
413
413
If you use Ruby 2.2, `Symbol` could be more performant than `String` as `Hash` keys.
414
414
Read more regarding this: [Symbol GC in Ruby 2.2](http://www.sitepoint.com/symbol-gc-ruby-2-2/) and [Unraveling String Key Performance in Ruby 2.2](http://www.sitepoint.com/unraveling-string-key-performance-ruby-2-2/).
0 commit comments