Skip to content

Commit 94c4be4

Browse files
authored
Merge pull request #2836 from neilvcarvalho/nc-update-monorepo-urls
Update GitHub URLs to the RSpec monorepo
2 parents 77fdb4b + 74e6656 commit 94c4be4

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

README.md

-3
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,6 @@ you can run the specs and Cucumber features, or submit a pull request.
364364
### RSpec base libraries
365365

366366
* https://github.com/rspec/rspec
367-
* https://github.com/rspec/rspec-core
368-
* https://github.com/rspec/rspec-expectations
369-
* https://github.com/rspec/rspec-mocks
370367

371368
### Recommended third-party extensions
372369

benchmarks/before_block_capture_block_vs_yield.rb

+6-6
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ def capture_block_and_call_n_times(n, &block)
4242
example context.
4343

4444
rspec-core has already performed [many related benchmarks about
45-
this](https://github.com/rspec/rspec-core/tree/main/benchmarks):
45+
this](https://github.com/rspec/rspec/tree/main/rspec-core/benchmarks):
4646

47-
- [call vs yield](https://github.com/rspec/rspec-core/blob/main/benchmarks/call_v_yield.rb)
48-
- [capture block vs yield](https://github.com/rspec/rspec-core/blob/main/benchmarks/capture_block_vs_yield.rb)
49-
- [flat map vs inject](https://github.com/rspec/rspec-core/blob/main/benchmarks/flat_map_vs_inject.rb)
47+
- [call vs yield](https://github.com/rspec/rspec/blob/main/rspec-core/benchmarks/call_v_yield.rb)
48+
- [capture block vs yield](https://github.com/rspec/rspec/blob/main/rspec-core/benchmarks/capture_block_vs_yield.rb)
49+
- [flat map vs inject](https://github.com/rspec/rspec/blob/main/rspec-core/benchmarks/flat_map_vs_inject.rb)
5050

5151
The results are very interesting:
5252

@@ -64,7 +64,7 @@ def capture_block_and_call_n_times(n, &block)
6464
> See also `flat_map_vs_inject.rb`, which appears to contradict these
6565
> results a little bit.
6666
>
67-
> -- https://github.com/rspec/rspec-core/blob/main/benchmarks/capture_block_vs_yield.rb#L83-L95
67+
> -- https://github.com/rspec/rspec/blob/main/rspec-core/benchmarks/capture_block_vs_yield.rb#L83-L95
6868

6969
and
7070

@@ -75,7 +75,7 @@ def capture_block_and_call_n_times(n, &block)
7575
> version remains faster in my benchmarks here no matter how small
7676
> I shrink the `words` array. I'm not sure why!
7777
>
78-
> -- https://github.com/rspec/rspec-core/blob/main/benchmarks/flat_map_vs_inject.rb#L37-L42
78+
> -- https://github.com/rspec/rspec/blob/main/rspec-core/benchmarks/flat_map_vs_inject.rb#L37-L42
7979

8080
This seems to show that the error margin is enough to negate any benefit from
8181
capturing the block initially. It also shows that not capturing the block is

0 commit comments

Comments
 (0)