Do not allocate/commit transactions in tight loops 30/5230/4
authorRobert Varga <rovarga@cisco.com>
Mon, 10 Feb 2014 16:35:19 +0000 (17:35 +0100)
committerRobert Varga <rovarga@cisco.com>
Tue, 11 Feb 2014 14:45:40 +0000 (15:45 +0100)
A transaction is additive and there's little harm in commiting empty
ones. Move allocation/commit outside of tight loops, such that we get
proper bulking.

Change-Id: I1f4920965c8ecf3091b6afb69ce1e1baa7ca0e24
Signed-off-by: Robert Varga <rovarga@cisco.com>

No differences found