Skip to content

Commit 96cd831

Browse files
authored
Merge pull request #253 from fastruby/feature/fix-readme-links
Fix stale and redirecting links in the README
2 parents cdafe57 + e6ef208 commit 96cd831

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ delegated method: 2228579.5 i/s - 2.55x slower
196196

197197
##### `raise` vs `E2MM#Raise` for raising (and defining) exceptions [code](code/general/raise-vs-e2mmap.rb) [custom exception code](code/general/raise-custom-vs-e2mmap.rb)
198198

199-
Ruby's [Exception2MessageMapper module](http://ruby-doc.org/stdlib-2.2.0/libdoc/e2mmap/rdoc/index.html) allows one to define and raise exceptions with predefined messages.
199+
Ruby's [Exception2MessageMapper module](https://ruby-doc.org/stdlib-2.2.0/libdoc/e2mmap/rdoc/index.html) allows one to define and raise exceptions with predefined messages.
200200

201201
```
202202
$ ruby -v code/general/raise-vs-e2mmap.rb
@@ -1250,7 +1250,7 @@ Comparison:
12501250
##### `Hash#[]` vs `Hash#fetch` [code](code/hash/bracket-vs-fetch.rb)
12511251

12521252
If you use Ruby 2.2, `Symbol` could be more performant than `String` as `Hash` keys.
1253-
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/).
1253+
Read more regarding this: [Symbol GC in Ruby 2.2](https://www.sitepoint.com/symbol-gc-ruby-2-2/) and [Unraveling String Key Performance in Ruby 2.2](https://web.archive.org/web/20151222034748/http://www.sitepoint.com:80/unraveling-string-key-performance-ruby-2-2/).
12541254

12551255
```
12561256
$ ruby -v code/hash/bracket-vs-fetch.rb
@@ -1275,7 +1275,7 @@ Comparison:
12751275

12761276
##### `Hash#dig` vs `Hash#[]` vs `Hash#fetch` [code](code/hash/dig-vs-[]-vs-fetch.rb)
12771277

1278-
[Ruby 2.3 introduced `Hash#dig`](http://ruby-doc.org/core-2.3.0/Hash.html#method-i-dig) which is a readable
1278+
[Ruby 2.3 introduced `Hash#dig`](https://ruby-doc.org/core-2.3.0/Hash.html#method-i-dig) which is a readable
12791279
and performant option for retrieval from a nested hash, returning `nil` if an extraction step fails.
12801280
See [#102 (comment)](https://github.com/fastruby/fast-ruby/pull/102#issuecomment-198827506) for more info.
12811281

@@ -1308,7 +1308,7 @@ Comparison:
13081308

13091309
##### `Hash[]` vs `Hash#dup` [code](code/hash/bracket-vs-dup.rb)
13101310

1311-
Source: http://tenderlovemaking.com/2015/02/11/weird-stuff-with-hashes.html
1311+
Source: https://tenderlovemaking.com/2015/02/11/weird-stuff-with-hashes/
13121312

13131313
> Does this mean that you should switch to Hash[]?
13141314
> Only if your benchmarks can prove that it’s a bottleneck.
@@ -1818,7 +1818,7 @@ Comparison:
18181818
##### `Regexp#===` vs `Regexp#match` vs `Regexp#match?` vs `String#match` vs `String#=~` vs `String#match?` [code ](code/string/===-vs-=~-vs-match.rb)
18191819

18201820
`String#match?` and `Regexp#match?` are available on Ruby 2.4 or later.
1821-
ActiveSupport [provides](http://guides.rubyonrails.org/v5.1/active_support_core_extensions.html#match-questionmark)
1821+
ActiveSupport [provides](https://guides.rubyonrails.org/v5.1/active_support_core_extensions.html#match-questionmark)
18221822
a forward compatible extension of `Regexp` for older Rubies without the speed
18231823
improvement.
18241824

@@ -2316,7 +2316,7 @@ Feel free to talk with me on Twitter! <3
23162316

23172317
## Also Checkout
23182318

2319-
- [Derailed Benchmarks](https://github.com/schneems/derailed_benchmarks)
2319+
- [Derailed Benchmarks](https://github.com/zombocom/derailed_benchmarks)
23202320

23212321
Go faster, off the Rails - Benchmarks for your whole Rails app
23222322

0 commit comments

Comments
 (0)