diff options
| author | Guillaume Melquiond | 2015-04-22 09:15:39 +0200 |
|---|---|---|
| committer | Guillaume Melquiond | 2015-04-22 09:15:39 +0200 |
| commit | 98a710caf5e907344329ee9e9f7b5fd87c50836f (patch) | |
| tree | 6d502b010ed2fce667c0b143a82e8ef1eed407f8 /dev | |
| parent | a201b73607d0094c89776ea4b51483bf3d1f9cec (diff) | |
Do not use list concatenation when gluing streams together, just mark them as glued.
Possible improvement: rotate using the left children in the glue function,
so that the iter function becomes mostly tail-recursive. Drawback: two
allocations per glue instead of a single one.
This commit makes the following command go from 7.9s to 3.0s:
coqtop <<< "Require Import BigZ ZBinary Reals OrdersEx. Time SearchPattern _." | tail -n 1
Diffstat (limited to 'dev')
0 files changed, 0 insertions, 0 deletions
