Replicate Map/dictionary variable, or some way to find variable in a struct?

The reason i want to use a map is to be able to look up a struct in an array under a string, map seems to be the most convenient and efficient way

There are 3 ways to go about solving my issue
1: Loop through an array (Which is slow, no thanks)
2: Find struct, but only finding 1 variable in a struct, rather than finding an entire struct (Which would be nice)
3: Just use a map

1 Like