summaryrefslogtreecommitdiff
path: root/tutorial
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-03-23 15:46:58 -0700
committerBen Pfaff <blp@ovn.org>2018-03-31 12:22:58 -0700
commit828129d9271da18c2742648aa910e1fe399bb8db (patch)
treeb6c38580b22179dc7c7efd4c030aed5b9ff89b38 /tutorial
parent056caea89bffe5f27000944c0ed5aaa6f7a2d852 (diff)
downloadopenvswitch-828129d9271da18c2742648aa910e1fe399bb8db.tar.gz
json: Avoid extra memory allocation and string copy parsing object members.
Until now, every time the JSON parser added an object member, it made an extra copy of the member name and then freed the original copy. This is wasteful, so this commit eliminates the extra copy. Signed-off-by: Ben Pfaff <blp@ovn.org> Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
Diffstat (limited to 'tutorial')
0 files changed, 0 insertions, 0 deletions