Repository navigation
Only propagate info if the quantity stays effectively the same - #14253
Merged
Merged
Conversation
taldcroft
reviewed
Jan 5, 2023
taldcroft
left a comment
Member
There was a problem hiding this comment.
This looks generally good with some small comments.
My only big-picture question is about performance. How much improvement does this bring for the covered cases? Conversely, are there any possible performance regressions in other areas?
Contributor
Author
|
@taldcroft - on the performance, it is quite an improvement: |
mhvk
force-pushed
the
quantity-do-not-copy-info-for-operations
branch
from
January 5, 2023 16:39
79df221 to
d95e68f
Compare
taldcroft
approved these changes
Jan 5, 2023
taldcroft
left a comment
Member
There was a problem hiding this comment.
OK, looks good, pending CI passing. Once that happens feel free check the CI box in the description and merge.
davidgegiya
added a commit
to davidgegiya/agent-orchestrator
that referenced
this pull request
Nov 8, 2026
Pin dd2304672cdf4ea1b6f124f9f22ec5069a13c9f5 and its regression selectors for reproducible runs. Source: astropy/astropy#14253
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request is to address the fact that
infogets copied from one quantity to another even when it makes little sense (such as in operations on quantities), slowing things done needlessly and possibly leading to confusion.Fixes #5047, #14248
Also addresses #14244 (comment)
Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
Extra CIlabel. Codestyle issues can be fixed by the bot.no-changelog-entry-neededlabel. If this is a manual backport, use theskip-changelog-checkslabel unless special changelog handling is necessary.astropy-botcheck might be missing; do not let the green checkmark fool you.backport-X.Y.xlabel(s) before merge.