[ovs-dev] [PATCH v2 1/1] json: Serialize strings using a lookup table

Ben Pfaff blp at ovn.org
Wed Oct 5 17:17:46 UTC 2016

On Wed, Oct 05, 2016 at 04:47:21PM +0000, Rodriguez Betancourt, Esteban wrote:
> The existing implementation uses a switch with
> many conditions, that when compiled is translated
> to a not optimal series of conditional jumps.
> With a lookup table the generated code has less conditional jumps,
> that should translate in improving the CPU ability to predict the
> jumps.

Thanks, applied to master.

More information about the dev mailing list