Skip to content

Commit 7797b38

Browse files
authored
Fix links (#226)
1 parent a9e12bc commit 7797b38

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Comparison:
111111
module_eval with string: 1129.7 i/s - 1.19x slower
112112
```
113113

114-
##### `String#constantize` vs a comparison for inflection
114+
##### `String#constantize` vs a comparison for inflection [code](code/general/constantize-vs-comparison.rb)
115115

116116
ActiveSupport's [String#constantize](https://guides.rubyonrails.org/active_support_core_extensions.html#constantize) "resolves the constant reference expression in its receiver".
117117

@@ -1063,7 +1063,7 @@ Comparison:
10631063
Block: 47914.3 i/s - 1.14x slower
10641064
```
10651065

1066-
##### `Proc#call` and block arguments vs `yield`[code](code/proc-and-block/proc-call-vs-yield.rb)
1066+
##### `Proc#call` and block arguments vs `yield` [code](code/proc-and-block/proc-call-vs-yield.rb)
10671067

10681068
In MRI Ruby before 2.5, block arguments [are converted to Procs](https://www.omniref.com/ruby/2.2.0/symbols/Proc/yield?#annotation=4087638&line=711), which incurs a heap allocation.
10691069

@@ -1329,7 +1329,7 @@ Comparison:
13291329
String#gsub: 516604.2 i/s - 3.60x slower
13301330
```
13311331

1332-
##### `String#gsub` vs `String#tr` vs `String#del` [code](code/string/gsub-vs-tr-vs-del.rb)
1332+
##### `String#gsub` vs `String#tr` vs `String#delete` [code](code/string/gsub-vs-tr-vs-delete.rb)
13331333

13341334
```
13351335
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]

0 commit comments

Comments
 (0)