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
Please register or sign in to comment