-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid some allocations in mutating methods (#347)
* WIP: proof of concept: avoid allocations in inplace methods * Move zero! methods from arithmetic.jl to functions.jl * Substitute zero! methods where appropriate * Substitute 0:a.order -> eachindex(a) * Add one-order zero! methods * Try allocation-free zero! for non-mixtures * WIP: debugging zero stuff * WIP: workaround TaylorIntegration bug * Add tests * Fix typo * Small fix in div! * Allocate less in div!(::Taylor1,::NumberNotSeries,::Taylor1,Int) * Add missing div! method * Add /(::NumberNotSeries,::Taylor1{TaylorN{<:NumberNotSeries}} * Update comments * Address review by @lbenet * WIP: try less allocations in div! * Fixes in division methods * Cleanup and add test * Cleanup * More cleanup * Remove comments * Update Project.toml: bump minor version and use hyphen instead of commas in IntervalArithmetic compat entry
- Loading branch information
Showing
6 changed files
with
279 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
bc1735c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
bc1735c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/101595
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: