[ovs-dev] [PATCH 2/2] idl: New helpers for accessing string maps.

Ben Pfaff blp at nicira.com
Wed Mar 21 20:48:24 UTC 2012


On Tue, Mar 20, 2012 at 06:27:31PM -0700, Ethan Jackson wrote:
> This removes some boilerplate from the bridge.
> 
> Signed-off-by: Ethan Jackson <ethan at nicira.com>

I like this very much.  Thank you!

The keys are guaranteed to be in sorted order, so we could use binary
search.  Do we have any string-to-string maps that tend to get big?
(If we do implement binary search then I'd put it in a helper
function.)



More information about the dev mailing list