diff options
Diffstat (limited to 'docs/wiki_src/coding/laziness.md')
-rw-r--r-- | docs/wiki_src/coding/laziness.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/wiki_src/coding/laziness.md b/docs/wiki_src/coding/laziness.md index 20d1205..e3d642f 100644 --- a/docs/wiki_src/coding/laziness.md +++ b/docs/wiki_src/coding/laziness.md @@ -38,11 +38,11 @@ Laziness can (in some cases) produce huge performance boosts. For example: ``` bruijn -# 11 seconds -:time (+10) ** (+500) +# 10 seconds +:time (+10) ** (+1000) -# 0.1 seconds -:time ((+10) ** (+500)) =? (+400) +# 0.02 seconds +:time ((+10) ** (+1000)) =? (+42) ``` This works because a ternary number is just a concatenation of trits |