Closed
Description
Kevin Dosey opened DATAMONGO-1449 and commented
I'd like to propose the following change to get a minor performance improvement where I've observed a bottleneck when converting DBObjects to domain objects.
- for (int i = 0; i < sourceValue.size(); i++) {
-
- Object dbObjItem = sourceValue.get(i);
+ for (Object dbObjItem : sourceValue) {
Affects: 1.9.1 (Hopper SR1)
Reference URL:
Referenced from: pull request #368
Backported to: 1.9.2 (Hopper SR2), 1.8.5 (Gosling SR5)