Zakir032002 commented on PR #3421: URL: https://github.com/apache/fory/pull/3421#issuecomment-3979634808
@chaokunyang — You're right, that method was unnecessary and unused. I've removed check_binary_size and the related ReadContext field. The implementation now only enforces max_collection_size at actual preallocation sites (collections, maps, primitive lists), and includes the buffer-remaining check as requested. Config has been simplified to keep only max_binary_size (reserved, default 64MB) and max_collection_size (default 1_000_000). All checks are passing. Please let me know if anything else should be adjusted. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
