]> git.puffer.fish Git - matthieu/frr.git/commit
lib: keep element count in vector code
authorDavid Lamparter <equinox@opensourcerouting.org>
Mon, 18 Oct 2021 13:29:17 +0000 (15:29 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 18 Oct 2021 17:48:11 +0000 (19:48 +0200)
commit14c39974bbb37a1c95800b75af3d25ff72295f41
tree35f2ead810582e664df3088e941954277a72798b
parent0e06eb8b2ea1eff8c67752533d66e96bb9bebfdb
lib: keep element count in vector code

... to speed up vector_empty_slot() among other things.

Behavior should be 100% identical to previous.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/vector.c
lib/vector.h