-
Notifications
You must be signed in to change notification settings - Fork 5
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
Eliminate usages of getArrayCopy() #402
Labels
Comments
In CT:
|
The preceding comment is being tracked in #403 (comment) |
6 tasks
chrisklus
added a commit
that referenced
this issue
May 6, 2021
I went through usages and converted most to use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From phetsims/axon#334, Energy Forms and Changes has 30 occurrences of
getArrayCopy
. I'm not sure whether it's important that those are (a) shallow copies or (b) something with the Array interface or (c) both. Since we started using Proxy, observable arrays now satisfy the Array interface. If a shallow copy is needed, perhaps we should useslice
. Can you please take a look and see if these can be deleted or converted to slice?The text was updated successfully, but these errors were encountered: