Details
-
Type:
Task
-
Status: To Do
-
Priority:
(None)
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: libutils
-
Labels:
Description
Both HashMap and ArrayMap have an internal field that tells how many items they contain. So we can make MapSize() just return those values instead of iterating over the map and counting the elements inside it.