emissionnebula commented on PR #13437:
URL: https://github.com/apache/kafka/pull/13437#issuecomment-1490312456

   Thanks @divijvaidya for the comment. 
   
   > why we didn't consider usage of native Java's data structures such as 
CopyOnWrite* data structures. 
   
   CopyOnWrite is quite inefficient compared to persistent collections since it 
requires copying the whole collections for each update. I have given an example 
in the description which explains why persistent collections are efficient.
   
   > It would be nice if you could mention why the trade-off with immutable 
data structures is worth it in the case of AclAuthorizer.
   
   Added in the description.


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to