-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
HPROC is telling me that the arrays being created in the CombMathUtils.createDistinctM(int[]) call are wasting time. Some options for improving the performance:
- Object recycling - this may help if the indirection required is faster than the allocation of the array and the eventual GC that will happen. Unfortunately, the standard int array factory provided by Javolution is causing NPEs in my code.
- Make the CombMathUtils thread local - this would allow the repeated indirections required by factories to be consolidated into a single indirection when getting the math utils object.