Pool

constructor(preallocate: Int = 0, gen: (Int) -> T)
constructor(reset: (T) -> Unit = {}, preallocate: Int = 0, gen: (Int) -> T)