Skip to content

implement specialization of Base.dataids to speed-up broadcast - #196

Merged
piever merged 3 commits into
JuliaArrays:masterfrom
ranocha:hr/broadcast
Aug 25, 2021
Merged

piever merged 3 commits into
JuliaArrays:masterfrom
ranocha:hr/broadcast

Conversation

@ranocha

@ranocha ranocha commented Aug 24, 2021

Copy link
Copy Markdown
Contributor

This is another part of an effort to improve the performance of some of our numerical simulation methods for partial differential equations in Trixi.jl. Adding this on top of the changes introduced in #194, this increases the performance of some of our numerical methods by ca. one third.

Comment thread src/structarray.jl Resolved
@piever

piever commented Aug 25, 2021

Copy link
Copy Markdown
Collaborator

Thanks! I've added a small comment because I think this implementation does not respect the docstring from Base.

Would you mind also adding a test for this method?

ranocha and others added 2 commits August 25, 2021 17:17
Co-authored-by: Pietro Vertechi <pietro.vertechi@protonmail.com>
@ranocha
ranocha requested a review from piever August 25, 2021 15:22
@ranocha

ranocha commented Aug 25, 2021

Copy link
Copy Markdown
Contributor Author

Would you mind also adding a test for this method?

Good point - added in 5e87976

@piever
piever merged commit 0db2c4f into JuliaArrays:master Aug 25, 2021
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