Object pooling for high-throughput ISO8583 message processing.
iso8583sim.core.pool
MessagePool
MessagePool(size: int = 100)
Thread-safe object pool for ISO8583Message instances.Using a pool reduces object allocation overhead in high-throughput
scenarios by reusing message objects instead of creating new ones.
Note: Messages returned to the pool have their fields cleared,
so don’t hold references to field data after releasing.Initialize the message pool.Parameters