xichen01 commented on PR #4572:
URL: https://github.com/apache/ozone/pull/4572#issuecomment-1541256971

   If the array is not dynamically expandable, we need to create an array of 
size 10000 directly, because there is no way to know how many parts the user 
will upload, the user will not declare the number of parts before uploading, 
and the parts may arrive in disorder.
   So if we want to use an array, we can only declare a maximum array 
(size=10000) or use an array that can be dynamically expanded.
   Using an array of size 10000 instead of a dynamic array makes the 
`IntSparseMap` simpler.


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

Reply via email to