README: add `foldl'` to the function table
This commit is contained in:
parent
d3213f076e
commit
9bf766f74a
|
@ -21,6 +21,7 @@ solution that could be applied to other functions as well, without too much over
|
|||
| `catAttrs` | O(n) | `filter`-like, [attrs] -> Attrs. Can remove many items at once, as well as convert from list to attrs |
|
||||
| `concatMap` | O(n * f) | could this be used with attr lookups to fix the O(n^2) fold collection resizing problem? |
|
||||
| `concatLists` | O(n) | could this be used with attr lookups to fix the O(n^2) fold collection resizing problem? |
|
||||
| `foldl'` | O(n * f) | could be used to implement tail recursion |
|
||||
| `filter` | O(n * f) | could potentially remove many items at once without realloc? |
|
||||
| `genList` | O(n * f) | can seemingly allocate an arbitrarily sized list? |
|
||||
| `intersectAttrs` | O(n log m) (known) | could be used as a shorthand for binary merge? |
|
||||
|
|
Loading…
Reference in New Issue