Skip to content
Snippets Groups Projects
Commit e58422af authored by Elmar Bartel's avatar Elmar Bartel
Browse files

diff: re-establish linear runtime performance

The previous method with sum() and list() creates a new list object
for every hunk. Then sum() is used to flatten out this sequence of
lists.  The sum() function is not "lazy", but creates a new list object
for every "+" operation and so this code had quadratic runtime behaviour.
parent a467416c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment