i refactored this after noticing the _lots_of_spaces specialization wasn't exercised by tests (see #91). this is smaller and faster and all covered by the tests.
size:
before: | SPACES | `spaces` | ANS core | 59 | **auto** |
after: | SPACES | `spaces` | ANS core | 25 | **auto** |
speed (cycles) for various n spaces:
n after before
42 1263 1466
442 12871 13768
-1 33 131
0 47 131
i refactored this after noticing the
_lots_of_spaces
specialization wasn't exercised by tests (see #91). this is smaller and faster and all covered by the tests.