summaryrefslogtreecommitdiffhomepage
path: root/server/mrt.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-05-10 09:00:50 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-05-10 23:13:21 +0900
commit691d80e5d160b82c8b4dd1d83c959ecdffad318f (patch)
tree52d9a238bde9dd525c63bf15b8ede84ab85d56fe /server/mrt.go
parent5fc0ac2731ebbe0e812d493e837007068989faa7 (diff)
make Path objects in rib read-only
Now you can read Path objects in rib safely. Nobody modifies them. GetRib() API doesn't need to clone the objects. With full routes, this avoid allocating temporary huge memory. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/mrt.go')
0 files changed, 0 insertions, 0 deletions