Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
As we iterate keys in the listKeys API there is logic to resolve the FSO path to the key which is quite expensive in aggregate over many keys.
As we iterate the keys in order, it is highly likely there will be consecutive keys with the same parent folder and hence prefix.
Therefore, we should save the prefix prefix and if the current parentID is equal to the previous one, simple reuse it, avoiding all the path construction work.
Attachments
Issue Links
- links to