You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to use struct keys, but do not need a general "supports all structs" approach being asked for in #53 . We can chain hashmaps together, but that is not a good solution for us.
In particular, we were wondering if a few new key types could be added.
type Key128 struct {
One, Two uint64
}
This would be generally useful for a number of things such as IPv6 address lookups.
These next two would be useful for IPv6 + some other tuple information or two IPv6 addresses.
type Key192 struct {
One, Two, Three uint64
}
type Key256 struct {
One, Two, Three, Four uint64
}
The text was updated successfully, but these errors were encountered:
We would like to use struct keys, but do not need a general "supports all structs" approach being asked for in #53 . We can chain hashmaps together, but that is not a good solution for us.
In particular, we were wondering if a few new key types could be added.
This would be generally useful for a number of things such as IPv6 address lookups.
These next two would be useful for IPv6 + some other tuple information or two IPv6 addresses.
The text was updated successfully, but these errors were encountered: