Issue Bug Closed

#78634Reference index causes an order of magnitude more SQL requests than necessary

Claus Due 11/10/16, 11:47 updated 10/02/18, 11:06

Description

Many of the methods inside ReferenceIndex class are built so they require a UID as input argument and then they load the record or partial record from DB for each method called. By allowing the methods to receive an already-loaded record that is then passed from the outermost function, decreases wall time during record copy by a whopping 40% (!!!) and lowers memory usage by approximately 10%.

Reviews 3