np-guard / models

Models for connectivity and network resources
https://pkg.go.dev/github.com/np-guard/models
Apache License 2.0
1 stars 0 forks source link

`generic` PR followups #68

Open adisos opened 1 week ago

adisos commented 1 week ago

items to complete before release:

additional items:

elazarg commented 1 week ago

I think we should consider

adisos commented 1 week ago

I think we should consider

* [ ]  making the interval type generic.

* [ ]  having a dedicated "small set" abstraction, something that fits the protocol type more tightly.

Thanks @elazarg Can you elaborate what you meant with having a dedicated "small set" abstraction?

elazarg commented 1 week ago

I mean a set for two values (e.g. for TCP/UDP), or more generally a set for K values, which is more difficult to encode into golang's type system.