Commit 801e3a68 authored by Him188's avatar Him188

Less memory usage

parent 0015b7bc
......@@ -13,7 +13,7 @@ import kotlinx.io.pool.DefaultPool
import kotlinx.io.pool.ObjectPool
internal const val DEFAULT_BYTE_ARRAY_POOL_SIZE = 256
internal const val DEFAULT_BYTE_ARRAY_SIZE = 81920
internal const val DEFAULT_BYTE_ARRAY_SIZE = 81920 / 2
val ByteArrayPool: ObjectPool<ByteArray> = ByteArrayPoolImpl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment