memar-go
memar-go copied to clipboard
[service] Improve service finding by ID performance
In this file use GO map as hash table to store and find services by ID but GO map is not effient for simple uint64 type as key! Improve this file by implement internal custom table.
- Don't use array pointer for buckets due to it is most read table with over 99.9% times.
- Don't use overflow map||buckets and block procces to expand whole hash table.