-
Notifications
You must be signed in to change notification settings - Fork 63
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
PeristentHashMap.values creates a new instance of PersistentHashMapValues
on each call
#153
Comments
known issue — Kotlin/kotlinx.collections.immutable#153 (still the change makes sense, as we do not create intermediate ArrayList) GitOrigin-RevId: 821cafa2dffc173d19fd613e7e552f4fc5854add
known issue — Kotlin/kotlinx.collections.immutable#153 (still the change makes sense, as we do not create intermediate ArrayList) (cherry picked from commit 821cafa2dffc173d19fd613e7e552f4fc5854add) IJ-CR-117903 GitOrigin-RevId: 2116580985cd514c97ee0b94c1a53a241bc59c6f
Hi, Thanks for the feedback! We really do appreciate it. |
I would suggest re-opening the issue. It might be the case that |
When considering the introduction of backing fields for the |
I don't know if it is an oversight or not, but fastutil/JDK caches computed
values
.It is important for IntelliJ IDEA —
PersistentMap.values
called quite often.I realize that modern JDK can optimize it, but it is still unclear to me whether it was benchmarked / by intention.
The text was updated successfully, but these errors were encountered: