martin-g commented on PR #2202:
URL: https://github.com/apache/avro/pull/2202#issuecomment-1527131920

   IMO we should make this configurable, so that the user application can 
decide whether to make use of this optimization or not.
   It could be either something like `util::max_allocation_bytes(usize)` or an 
env var if the first is too cumbersome. The default value should be `true` for 
backward compatibility.
   Then we should have test cases that check with both `true` and `false`. 
   
   Please let me know if you need my help!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to