You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by GitBox <gi...@apache.org> on 2019/11/20 11:54:56 UTC
[GitHub] [storm] cjljohnson opened a new pull request #3171: STORM-3543 Change task hook info objects to use basic for loops to reduce garbag…
cjljohnson opened a new pull request #3171: STORM-3543 Change task hook info objects to use basic for loops to reduce garbag…
URL: https://github.com/apache/storm/pull/3171
A big drive was made in 2.0 to avoid iterators on the critical path to reduce garbage collection.
When task hooks are used, an iterator is used for each info object to pass it to all hooks.
As this is on the critical path when task hooks are used, the same reasoning should apply and the iterators be replaced with for loops.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services