Skip to content

Conversation

@mrkkrp
Copy link
Owner

@mrkkrp mrkkrp commented Jun 16, 2017

@harendra-kumar We should have used difference lists here because linked lists are poor performing monoids :-)

@mrkkrp mrkkrp added this to the 1.3.1 milestone Jun 16, 2017
@mrkkrp mrkkrp force-pushed the speed-up-recursive-directory-listing branch from a381581 to 1973355 Compare June 16, 2017 11:51
@mrkkrp mrkkrp merged commit 35fecd3 into master Jun 16, 2017
@mrkkrp mrkkrp deleted the speed-up-recursive-directory-listing branch June 16, 2017 12:08
@harendra-kumar
Copy link
Contributor

I agree, but I had no idea how poor. Did you do some benchmarking or is it noticeable even without a benchmark?

@mrkkrp
Copy link
Owner Author

mrkkrp commented Jun 16, 2017

No, I did not run a benchmark, I just know that appending lists again and again like this is slow, so I corrected it. I can easily imagine that this can get pretty bad on some huge directory tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants