buffers: performance improvement 62/31662/8
authorRadu Nicolau <radu.nicolau@intel.com>
Tue, 16 Mar 2021 12:45:01 +0000 (12:45 +0000)
committerDamjan Marion <dmarion@me.com>
Tue, 6 Apr 2021 08:47:17 +0000 (08:47 +0000)
commitd82349ecad23bfd80e9a518f595adf78f363c68d
treec99da64da387a9680c99509b4add4821560037ff
parent8f10b9050dc6318d7ccb3982eec2ed742752c6ea
buffers: performance improvement

Initialize the local variables as to prevent first fall
through one by one processing; skip prefetching rather
than doing one by one when count below 12.

Type: improvement

Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Change-Id: If02935da081e24f7cfe408811ccf6922cf982092
src/vlib/buffer_funcs.h