The foreach starting at old line 1305-1311 was designed to look for a specific transaction type.
When we have found that, let's stop that loop, so, we save some CPU cycles.
Differential D25627
TransactionEditor: micro-optimize the "creation finder" valerio.bozzolan on May 9 2024, 08:32. Authored by
Details
The foreach starting at old line 1305-1311 was designed to look for a specific transaction type. When we have found that, let's stop that loop, so, we save some CPU cycles. Note that getTransactionType() has not side-effects. Test some applications - like Pholio - that use the TransactionEditor:
Everything still working normally.
Diff Detail
|