[1/2] kudu git commit: jsonwriter: small optimization for PB fields

2018-02-04 Thread todd
Repository: kudu Updated Branches: refs/heads/master 2bff29b59 -> bf6c2c07b jsonwriter: small optimization for PB fields This avoids extra non-inlinable calls into the protobuf library: - extra calls to GetReflection() - calls to FieldSize() while looping through repeated fields This has a sm

[2/2] kudu git commit: rpc: micro-optimize delayed task handling

2018-02-04 Thread todd
rpc: micro-optimize delayed task handling Previously we put all pending DelayedTasks in an STL set<>. However, we don't really need a set -- using an intrusive doubly linked list is sufficient and provides O(1) removal instead of O(lg n). This speeds up the new unit test significantly. I measured