siddhantsangwan commented on pull request #2441:
URL: https://github.com/apache/ozone/pull/2441#issuecomment-896478834


   > these several maps can also be initialized at the constructor function and 
reused with clear
   
   I'm initializing these maps here since the required initial size for these 
maps can change for every iteration. And resizing hash maps is a bit expensive. 
So should we prefer moving them to the constructor or we can leave them here 
for the garbage collector?
   


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