Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
Currently, in method findSlot. there exists codes snippet below:
for (; i < getCapacity(); i++) { if (getStorageInfo(i) == null) { return i; } }
it will compute (triplets.length / 3 every iteration, I think this can be optimized.
Attachments
Issue Links
- links to