Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the performance #16

Merged
merged 8 commits into from
Sep 22, 2024
Merged

Improve the performance #16

merged 8 commits into from
Sep 22, 2024

Conversation

GiggleLiu
Copy link
Member

@GiggleLiu GiggleLiu commented Sep 20, 2024

The performance can be improved a lot by writing the loops explicitly. These improvements are useful in my friend's project. @jlbosse Do you have time to get this PR reviewed?

@GiggleLiu GiggleLiu requested a review from jlbosse September 20, 2024 18:53
@jlbosse
Copy link
Collaborator

jlbosse commented Sep 21, 2024

This looks good! I homogenized the formatting a bit, but didn't make any semantical changes. Before I merge this: Is SparseArrays still needed as a dependency, or has it been completely replaced with LuxurySparse.SparseMatrixCOO? If the latter, I would remove it from the Project.toml and also remove the SparseMatrixCSC methods of fast_add! and fast_overlap!.

@GiggleLiu
Copy link
Member Author

Good point, I just removed SparseArrays from the dependency.

@GiggleLiu
Copy link
Member Author

@jlbosse The CI failure seems to be irrelevant to this PR.

Copy link
Collaborator

@jlbosse jlbosse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jlbosse jlbosse merged commit c7c4ba7 into master Sep 22, 2024
7 of 8 checks passed
@jlbosse jlbosse deleted the jg/speedup branch September 22, 2024 17:52
@jlbosse
Copy link
Collaborator

jlbosse commented Sep 22, 2024

Thanks for this! I merged and released a new version, so once JuliaRegistries/General#115689 is merged you should be able to get the new version from the General registry

@GiggleLiu
Copy link
Member Author

Cheers!

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.

2 participants