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

Generalize UnitRange->AbstractUnitRange in sparse indexing #22175

Merged
merged 1 commit into from
Jun 1, 2017

Conversation

timholy
Copy link
Member

@timholy timholy commented Jun 1, 2017

Trivial change with a 50x performance benefit. Fixes #22173. CC @mkborregaard.

@tkelman
Copy link
Contributor

tkelman commented Jun 1, 2017

Are any examples of code that looks like #22173 in the existing benchmark set? Seems like we would have noticed it when comparing 0.5 to 0.6 if there had been.

@mkborregaard
Copy link
Contributor

This is brilliant, thanks @timholy !

@KristofferC KristofferC added potential benchmark Could make a good benchmark in BaseBenchmarks and removed potential benchmark Could make a good benchmark in BaseBenchmarks labels Jun 1, 2017
timholy added a commit to JuliaCI/BaseBenchmarks.jl that referenced this pull request Jun 1, 2017
@timholy
Copy link
Member Author

timholy commented Jun 1, 2017

@tkelman, we do now: JuliaCI/BaseBenchmarks.jl#77

timholy added a commit to JuliaCI/BaseBenchmarks.jl that referenced this pull request Jun 1, 2017
@timholy timholy merged commit 7943c80 into master Jun 1, 2017
@timholy timholy deleted the teh/fix_22173 branch June 1, 2017 12:36
tkelman pushed a commit that referenced this pull request Jun 3, 2017
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.

4 participants