performance difference between map find and ordinary array search

hi

would there be any performance difference between a map > find and an ordinary array find or lookup
other than a map find being perhaps easier to put down in blueprint
an array lookup would do a for loop or so with a break
and a map would search based on the key which is more or less the same unless the key serves as index

thanks

I don’t think there will be much at all performance improvement from using a map over an array, at least that would be noticeable unless you were getting into very large arrays/maps. You really should only use a map if you specifically need the key-value pair functionality.

1 Like