Skip to content

Commit 582d554

Browse files
authored
Update after R&D technical verification
1 parent 632cef0 commit 582d554

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

content/en/docs/refguide/modeling/community-best-practices-for-app-performance.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ Indexes is a topic with a long history of best practices from the database world
6161

6262
* Minimize the work in loops:
6363
* Do commits and deletes after the loop in a list commit.
64-
* If needed, create a list named `<Entity>_CommitList` before the loop and collect the items to be committed there.
65-
Same for deletes with a `<Entity>_DeleteList`.
64+
* If needed, create a list named `<Entity>_CommitList` (or `<Entity>_DeleteList`) before the loop and collect the items to be committed (or deleted) there.
6665
* For retrieves in a loop, consider retrieving all the data before the loop, and do finds on that list inside the loop.
6766
* If loops contain decisions, consider if the decision logic can be a query before the loop to minimize iterations.
6867
* Prevent unnecessary retrieves if objects or lists can be passed as parameters.

0 commit comments

Comments
 (0)