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
drop key field and have a predicate WithKey(key) instead (or a second predicate altogether that reveals the state of the router, while still requiring the dataplaneMutexInvariant to modify the dataplane)
instead, implement it as a ghost field
drop all wildcards wherever possible (specially in predicates and method spec)
use const perm instead of hardcoded permissions everywhere
jcp19
changed the title
router/dataplane.go (minor): drop key field and have a predicate WithKey(key) insteadrouter/dataplane.go: information hiding and performance improvements dataplane
Jan 24, 2023
jcp19
changed the title
router/dataplane.go: information hiding and performance improvements dataplanerouter/dataplane.go: information hiding and performance improvement
Jan 24, 2023
jcp19
linked a pull request
Feb 5, 2023
that will
close
this issue
Improvements:
isComparable
from initialization speckey
field and have a predicate WithKey(key) instead (or a second predicate altogether that reveals the state of the router, while still requiring the dataplaneMutexInvariant to modify the dataplane)The text was updated successfully, but these errors were encountered: