File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
tests/bench/transactional Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,11 @@ Three alternatives:
12
12
13
13
Two benchmarks:
14
14
15
- - ` ImplicitMono ` : all calls are monomorphic
16
- - ` ImplicitMega ` : about half of the calls are (4-way) megamorphic,
15
+ - ` ImplicitMono ` : All calls are monomorphic.
16
+ Code in [ ImplicitMono.scala] ( ./ImplicitMono.scala ) .
17
+ - ` ImplicitMega ` : About half of the calls are (4-way) megamorphic,
17
18
the others are monomorphic.
19
+ Code in [ ImplicitMega.scala] ( ./ImplicitMega.scala ) .
18
20
19
21
### Results
20
22
@@ -61,7 +63,7 @@ specicialize monomorphic call-targets or not.
61
63
62
64
### Comparing with the Reader Monad
63
65
64
- Translating ` ImplicitMega ` to the reader monad gives the following runtimes:
66
+ Translating ` ImplicitMega ` to the reader monad (code in [ ReaderMonadic.scala ] ( ./ReaderMonadic.scala ) ) gives the following runtimes:
65
67
66
68
| Reader |
67
69
| ---------|
You can’t perform that action at this time.
0 commit comments