Frames and WeakHashMap
Discussion started on the ML: https://www.orekit.org/wws/arc/orekit-developers/2012-10/msg00000.html
Summary: Remove WeakHashMaps to improve performance.
I've attached a patch that removes Frame.common and uses a HashMap in FramesFactory.
If more performance is desired in Frame.findCommon() then pathToRoot() could be converted to a final field (read only) as it is invariant once the instance is created.
(from redmine: issue id 122, created on 2012-10-17, closed on 2012-10-17)
- Uploads: