diff options
author | Martin Odersky <odersky@gmail.com> | 2016-12-14 14:47:04 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-12-17 18:34:27 +0100 |
commit | 65b48e03b3f9eeb0c195024f2a94ba0a4cb6535c (patch) | |
tree | dded405f058e7d3b017fd93657eb840b091ae1bf /tests/bench | |
parent | c26a8c8811e850ebb682e27ac6b4037331028ea2 (diff) | |
download | dotty-65b48e03b3f9eeb0c195024f2a94ba0a4cb6535c.tar.gz dotty-65b48e03b3f9eeb0c195024f2a94ba0a4cb6535c.tar.bz2 dotty-65b48e03b3f9eeb0c195024f2a94ba0a4cb6535c.zip |
Add linked to code
Diffstat (limited to 'tests/bench')
-rw-r--r-- | tests/bench/transactional/results.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/bench/transactional/results.md b/tests/bench/transactional/results.md index 7d66ffe60..0766432c3 100644 --- a/tests/bench/transactional/results.md +++ b/tests/bench/transactional/results.md @@ -12,9 +12,11 @@ Three alternatives: Two benchmarks: - - `ImplicitMono`: all calls are monomorphic - - `ImplicitMega` : about half of the calls are (4-way) megamorphic, + - `ImplicitMono`: All calls are monomorphic. + Code in [ImplicitMono.scala](./ImplicitMono.scala). + - `ImplicitMega` : About half of the calls are (4-way) megamorphic, the others are monomorphic. + Code in [ImplicitMega.scala](./ImplicitMega.scala). ### Results @@ -61,7 +63,7 @@ specicialize monomorphic call-targets or not. ### Comparing with the Reader Monad -Translating `ImplicitMega` to the reader monad gives the following runtimes: +Translating `ImplicitMega` to the reader monad (code in [ReaderMonadic.scala](./ReaderMonadic.scala)) gives the following runtimes: | Reader | |---------| |