peter-formlogic opened a new pull request, #2228:
URL: https://github.com/apache/avro/pull/2228

   ## What is the purpose of the change
   
   This is a follow-on from an early PR which eliminates the use of `unsafe` 
via static mut by using atomic values instead.
   
   This adjusts the implementation of the max allocation bytes & serde human 
readable to use appropriate atomics for both.
   
   This does have the added benefit of being able to adjust these values 
multiple time as the program runs, rather than setting them once.
   
   ## Verifying this change
   
   Tests have been adjusted slightly to use the `set_serde_human_readable` 
function
   
   ## Documentation
   
   I've updated the documentation to exclude the note about `Once` as this is 
no longer used and it is possible to update the allocation & human readable on 
the fly as your library runs.
   


-- 
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