Closed techsy730 closed 3 years ago
Ok, got rid of Threading and just put the static utility method in each class. A bit unfortunate, but any optimizer worth anything should be able to see these methods are tiny and inline them in short order.
Can I merge this PR?
OK, I'll wait tomorrow ;).
I think I am good now, but running unit tests just to be sure.
Looks like we are good. Tests passed and the coverage numbers said the parallel operations were still parallel. That last force-push was just to remove my local .gitignore that wasn't supposed to be committed.
Make fastutil use the current ForkJoinPool if already in one
Removes the
shutdown()
calls as we don't want to be shutting down users' Executors (we were getting away with it earlier because the common pool swallows shutdown requests).Fixes https://github.com/vigna/fastutil/issues/193