diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-06-26 11:38:31 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-06-26 11:38:31 -0700 |
commit | c287ae4d1d0cb6448e556dda2c5c98eee4898cfe (patch) | |
tree | 23cb50d5a31b3701e7b26bece39b63e954707dd4 /controller | |
parent | daebce499402b489e4825cf8927c57be9b744397 (diff) | |
download | infinitytier-c287ae4d1d0cb6448e556dda2c5c98eee4898cfe.tar.gz infinitytier-c287ae4d1d0cb6448e556dda2c5c98eee4898cfe.zip |
Redo conversion of _networks to a vector. Just use a simple linear search and put the nwid in a pair with the pointer so linear search can be done without pointer chasing. This should be the fastest option for anything less than dozens of networks, and should save memory over the old map.
Diffstat (limited to 'controller')
0 files changed, 0 insertions, 0 deletions