すべてのオプション
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ ソース: libmmap-allocator  ]

パッケージ: libmmap-allocator-dev (0.4.0+git20200122.adbfbe1-1 など)

libmmap-allocator-dev に関するリンク

Screenshot

Debian の資源:

libmmap-allocator ソースパッケージをダウンロード:

メンテナ:

外部の資源:

類似のパッケージ:

STL allocator that mmaps files

When reading large files (>100MB) into memory, read() calls are usually not very space and time efficient, since the whole data is copiied at least once. Furthermore, when using STL containers (like a vector for example), data is copiied another time unless the location of the vector content as parameter to read() will be specified.

It would be nice to tell the vector a filename and have the vector mmap the file directly. This not only avoids the read() copiing (and the STL vector copiing) but also allows different processes that read the same file to see the same physical memory. Fortunately STL foresees an interface to do exactly this.

Libmmap-allocator helps to handle big files that contain unstructured data (like doubles or even text files), mmap_allocator is worth a try.

タグ: ソフトウェア開発: ライブラリ, 役割: 開発ライブラリ

libmmap-allocator-dev のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ バージョン パッケージサイズ インストールサイズ ファイル
amd64 0.4.0+git20200122.adbfbe1-1 18.3 kB86.0 kB [ファイル一覧]
arm64 0.4.0+git20200122.adbfbe1-1 18.0 kB84.0 kB [ファイル一覧]
armel 0.4.0+git20200122.adbfbe1-1 18.1 kB80.0 kB [ファイル一覧]
armhf 0.4.0+git20200122.adbfbe1-1 17.8 kB78.0 kB [ファイル一覧]
hppa (非公式の移植版) 0.4.0+git20200122.adbfbe1-1 18.3 kB79.0 kB [ファイル一覧]
i386 0.4.0+git20200122.adbfbe1-1 18.8 kB80.0 kB [ファイル一覧]
m68k (非公式の移植版) 0.4.0+git20200122.adbfbe1-1 17.9 kB78.0 kB [ファイル一覧]
mips64el 0.4.0+git20200122.adbfbe1-1 18.9 kB91.0 kB [ファイル一覧]
riscv64 0.4.0+git20200122.adbfbe1-1+b1 27.3 kB177.0 kB [ファイル一覧]
s390x 0.4.0+git20200122.adbfbe1-1 17.8 kB84.0 kB [ファイル一覧]
sh4 (非公式の移植版) 0.4.0+git20200122.adbfbe1-1 18.6 kB78.0 kB [ファイル一覧]
x32 (非公式の移植版) 0.4.0+git20200122.adbfbe1-1 18.3 kB79.0 kB [ファイル一覧]