Modify ↓
#3792 closed Feature Request (Completed)
Map should have a count method
| Reported by: | Nine | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Map count | Cc: |
Description
Although it is very easy to get the count with UBound(MapKeys($mMap)), it requires creating a 1D array for nothing if you do not need it. Also, it can be quite time-expensive for a very large map.
Attachments (0)
Change History (3)
comment:1 by , on Nov 20, 2020 at 6:00:02 PM
| Version: | 3.3.15.3 |
|---|
comment:2 by , on Nov 21, 2020 at 12:44:00 PM
Why don't just use UBound($mMap)
it is doing what you need.
comment:3 by , on Nov 21, 2020 at 1:03:04 PM
| Resolution: | → Completed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Automatic ticket cleanup.