Project: aptanastudio
Issue APSTUD-4292: Consider caching UserAgentElements used in JS indexing
During profiling of indexing for a large JS project, I noticed that we had a large number of allocations of UserAgentElements. There is a finite list of these, so we should be able to cache these instances, thus avoiding a large number of allocations and garbage collection steps.
Story points: 8