Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
The DistributionMessage class receives the recipients as a Collection object (which is always a Set after inspecting the calls) but it internally transforms the collection into an array [], this transformation appears to be useless as we end up converting the array [] into a List across several parts of the code afterwards when we need to do something with it.
Using one of our internal testing scenarios and a java profiler we detected that, under the current develop branch, we spend ~8 seconds more than when using Geode 1.10 just by executing this toArray transformation (screenshot attached), which can be completely avoided.
Attachments
Attachments
Issue Links
- links to