[SERVER-42578] Lower default BufBuilder size for KeyString::HeapBuilder Created: 01/Aug/19  Updated: 29/Oct/23  Resolved: 15/Aug/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Improvement Priority: Major - P3
Reporter: Louis Williams Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-08-12, Execution Team 2019-08-26
Participants:

 Description   

The default buffer size for BufBuilder is 512 bytes.

We should lower this to a more reasonable size like 32 bytes to handle more common cases of KeyString buffer allocation.



 Comments   
Comment by Githook User [ 15/Aug/19 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-42578 Lower default BufBuilder size for KeyString::HeapBuilder to 32 bytes
Branch: master
https://github.com/mongodb/mongo/commit/3b7403fa27b326d4eabadd47de4951b078d59657

Generated at Thu Feb 08 05:00:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.