From 65b48e03b3f9eeb0c195024f2a94ba0a4cb6535c Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 14 Dec 2016 14:47:04 +0100 Subject: Add linked to code --- tests/bench/transactional/results.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/bench') 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 | |---------| -- cgit v1.2.3