Opened 10 years ago

Closed 10 years ago

#465 closed enhancement (fixed)

new surface distance caching implementations

Reported by: Kevin Milner Owned by: Kevin Milner
Priority: major Milestone: OpenSHA 1.4
Component: sha Version:
Keywords: Cc:

Description

Implement, document, and test new surface distance caches that perform well in multi-threaded environments. The current single valued cache is constantly overridden in multi-threaded environments resulting in decreased performance.

Change History (1)

comment:1 Changed 10 years ago by Kevin Milner

Resolution: fixed
Status: newclosed

Done in [10733]. See DistCaches for speed implications. Default cache for all surfaces except CompoundSurface? is now HybridDistanceCache?, a hybrid of a simple single location cache and a google guava multi location cache. This performs best in all cases.

Note: See TracTickets for help on using tickets.