Skip to content

Conversation

@mauro3
Copy link
Contributor

@mauro3 mauro3 commented Apr 2, 2015

This fixes #10694, using Functors as suggested by @simonster.

@mauro3
Copy link
Contributor Author

mauro3 commented Apr 2, 2015

Performance improvement of this PR: For a test-case with a diagonal matrix with 10^7 entries, the new version is almost 3x faster and allocates less than half the memory.
https://gist.github.com/mauro3/e8036353c2a7f7a32805

ViralBShah added a commit that referenced this pull request Apr 2, 2015
Make sparse constructor use functor as combine fn
@ViralBShah ViralBShah merged commit d8b28ca into JuliaLang:master Apr 2, 2015
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.

Non inlining of function arguments causing slow creation of sparse matrices from IJV format

2 participants