You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ The constructor of `LargeArrayBuffer` provides some options:
64
64
1. You can set the threshold when to move the data to disk. When pushing data to the buffer, it is stored in memory until it gets too large.
65
65
E.g.: `new LargeArrayBuffer(512);` to set a 512 MiB threshold.
66
66
1. You can choose either the PHP serializer, the [igbinary](https://github.com/igbinary/igbinary) serializer or the [msgpack](https://github.com/msgpack/msgpack-php) serializer (PHP serializer is default).
1. You can enable GZIP or LZ4 compression for the serialized items. Although this is recommended only if your items are pretty big like > 1 KiB each. E.g.: `new LargeArrayBuffer(compression: LargeArrayBuffer::COMPRESSION_GZIP);`. Note, that LZ4 compression requires [ext-lz4](https://github.com/kjdev/php-ext-lz4) to be loaded.
69
69
70
70
### Read from the buffer
@@ -124,4 +124,4 @@ To reproduce call bench/benchmark.php.
124
124
125
125
## License
126
126
127
-
This library is licensed under the MIT License (MIT). Please see [LICENSE](LICENSE) for more information.
127
+
This library is licensed under the MIT License. Please see [LICENSE](LICENSE) for more information.
0 commit comments