diff options
| author | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-02-18 20:12:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-18 20:12:06 +0100 |
| commit | 367d7b32a2825f6e4c8ef3b5423ceb1cd2b62bd0 (patch) | |
| tree | ce5a98d926ca47ff128f703a46c6d8258d2fb92c /progs/bench | |
| parent | 5c26782c500bb9aee86ba7b35b2f145c1dd87dc2 (diff) | |
| download | sylt-367d7b32a2825f6e4c8ef3b5423ceb1cd2b62bd0.tar.gz | |
Apply suggestions from code review
Co-authored-by: Gustav Sörnäs <gustav@sornas.net>
Diffstat (limited to 'progs/bench')
| -rw-r--r-- | progs/bench/fib.sy | 2 | ||||
| -rw-r--r-- | progs/bench/fib_iter.sy | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/progs/bench/fib.sy b/progs/bench/fib.sy index bd1aaa4..de68f5c 100644 --- a/progs/bench/fib.sy +++ b/progs/bench/fib.sy @@ -1,4 +1,4 @@ -// The worst implementation of fibonacci calculations +// The worst implementation of Fibonacci calculations // possible. FYI, it can be done in constant time. fib :: fn a:int -> int { if a < 2 { diff --git a/progs/bench/fib_iter.sy b/progs/bench/fib_iter.sy index 0e188e8..c51469a 100644 --- a/progs/bench/fib_iter.sy +++ b/progs/bench/fib_iter.sy @@ -1,5 +1,5 @@ -// A fibonacci implementation that is a little -// less awefull. But we run it 1000 times instead. +// A Fibonacci implementation that is a little +// less awful. But we run it 1000 times instead. j := 0 for , j < 1000, j = j + 1 { a := 0 |
