fastrlp icon indicating copy to clipboard operation
fastrlp copied to clipboard

When to use ParserPool?

Open ana-prdekalo opened this issue 1 year ago • 0 comments

Hi,

Firstly than you very much for this awesome library! I was wondering when should we prefer using ParserPool instead of just creating new Parser each time?

In code it states: ParserPool may be used for pooling Parsers for similarly typed RLPs. I'm sure I'm missing something, but I'mo not seeing in code that there would be any benefits for similarly encoded RLPs if the parser was taken from pool instead of just using newly created one?

ana-prdekalo avatar Mar 16 '23 17:03 ana-prdekalo