If I try to run this program after instrumenting calls to eventPool.New and putEvent, I see that we won't put back the Dict created back into the eventPool.
We do use putEvent, if a Dict is applied directly to an Event.
I am new to this library and am trying to understand its implementation, so my question is if I am missing something here and this is actually the expectation?
If I try to run this program after instrumenting calls to
eventPool.New
andputEvent
, I see that we won't put back theDict
created back into theeventPool
.We do use
putEvent
, if aDict
is applied directly to an Event.I am new to this library and am trying to understand its implementation, so my question is if I am missing something here and this is actually the expectation?