-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
in: coreIssues in core supportIssues in core supporttype: enhancementA general enhancementA general enhancement
Milestone
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:
Line 904 in 7b8dade
for (int i = 0; i < sourceValue.size(); i++) { |
Referenced from: pull request #368
Backported to: 1.9.2 (Hopper SR2), 1.8.5 (Gosling SR5)
Metadata
Metadata
Assignees
Labels
in: coreIssues in core supportIssues in core supporttype: enhancementA general enhancementA general enhancement