fateh288 commented on PR #671:
URL: https://github.com/apache/ranger/pull/671#issuecomment-3300550068

   I am not very familiar with streams but based on my past experience, streams 
can be much slower than a for loop / iterator and also creates GC pressure due 
to its own intermediate objects it creates. Exceptions to this is when using 
parallel streams where benefits of parallelism exist.
   We should evaluate performance impact of replacing loops with streams since 
auth/policy evaluation is very performance sensitive


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