facebook / facebook/zstd

Allocate memory dynamically

オープン
#4,541 コメント 1 件 リアクション 0 件 担当者 1 名 @Cyan4973 が担当を希望しています GitHub で見る
主要言語
C
スター
27.9k
フォーク
2.6k
平均マージ
1日 3時間
マージ済み PR(30日)
8

説明

**Is your feature request related to a problem? Please describe.**
`zst` reserves the entire specified memory shortly after starting, even if the amount of processed data is nowhere close.

**Describe the solution you'd like**
If possible, I suggest only allocating as much memory as needed at a time, rather than immediately reserving the entire specified memory.

**Describe alternatives you've considered**
This is also the behaviour of LZMA-based compressors (lzma, xz, 7z).

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。