Ivan Bessonov created IGNITE-21198:
--------------------------------------

             Summary: Optimize memory usage of AbstractEventProducer#fireEvent
                 Key: IGNITE-21198
                 URL: https://issues.apache.org/jira/browse/IGNITE-21198
             Project: Ignite
          Issue Type: Improvement
            Reporter: Ivan Bessonov
            Assignee: Ivan Bessonov


In current implementation, most of listeners do their work synchronously and 
return already completed futures. In that cases there's no sense to allocate 
the entire array of futures and fill it.

Another reason for not allocating an array right away is the fact that we may 
have a big number of listeners, and allocating an array will be expensive and 
wasteful.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to