diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-23 19:58:36 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-23 20:17:57 -0400 |
| commit | 4a8bf85858da85e5ec51921d3530402c4e42f68d (patch) | |
| tree | 8d07a913a5b6269617b785ed44e708dd60d6caed /lib/json.h | |
| parent | 753e2c9152ec2e089c5e6cdcdaba3e51581636a0 (diff) | |
lib: Convert vrf bit-map to a hash.
Memory sizes of the vrf bit-map was insane for a system
with a moderate number of data on it:
Zebra:
VRF bit-map : 601 65536 39391944
Having a full 32bit integer bit space is problematically large,
switch over to a hash to store bit data. We do not need to waste
so much space.
VRF bit-map : 13 8 312
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/json.h')
0 files changed, 0 insertions, 0 deletions
