codesnippets:folds
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| codesnippets:folds [2021/04/08 17:57] – [Keeping order and beeing fast?] f2b216 | codesnippets:folds [2025/10/08 00:48] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 350: | Line 350: | ||
| * executes using large heap space | * executes using large heap space | ||
| * {{: | * {{: | ||
| - | * example, using foldl and reverse:< | + | * example, using '' |
| import qualified Data.List as L | import qualified Data.List as L | ||
| Line 376: | Line 376: | ||
| </ | </ | ||
| * executes within approximately __**15 seconds**__ on Intel(R) Core(TM) i5-8400 @ 2.80GHz | * executes within approximately __**15 seconds**__ on Intel(R) Core(TM) i5-8400 @ 2.80GHz | ||
| - | | + | * executes using large heap space |
| - | * regardless of whether alternative reverse functions are implemented | + | * {{: |
| + | | ||
| + | * regardless of whether alternative | ||
| * e.g.:< | * e.g.:< | ||
| reverse' | reverse' | ||
| Line 394: | Line 396: | ||
| reverse' | reverse' | ||
| </ | </ | ||
| - | * executes using large heap space | ||
| - | * {{: | ||
| ====== Conclusion and selection ====== | ====== Conclusion and selection ====== | ||
| Line 406: | Line 406: | ||
| * if the initial value is the first and the last respectively use '' | * if the initial value is the first and the last respectively use '' | ||
| + | |||
| + | ===== ✎ ===== | ||
| + | ~~DISCUSSION~~ | ||
codesnippets/folds.1617897439.txt.gz · Last modified: (external edit)
