memLevel

PmemLevel
Bun

Symbol

ZlibCompressionOptions.memLevel

memLevel?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9

How much memory should be allocated for the internal compression state.

A value of 1 uses minimum memory but is slow and reduces compression ratio.

A value of 9 uses maximum memory for optimal speed. The default is 8.