Commit acdf6b6c authored by Christian Hergert's avatar Christian Hergert
Browse files

bson: remove repetitive calls to bson_data().

bson_data() is rather slow when used in a hot path. Just call it once
and increment our buffer pointer manually. This is safe because we have
already done our buffer growth outside this hot path.
parent 8a874c33
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment