全部搜索项
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 18.3 kB86.0 kB [文件列表]
arm64 18.0 kB84.0 kB [文件列表]
armel 18.1 kB80.0 kB [文件列表]
armhf 17.8 kB78.0 kB [文件列表]
i386 18.8 kB80.0 kB [文件列表]
mips64el 18.9 kB91.0 kB [文件列表]
mipsel 19.1 kB81.0 kB [文件列表]
s390x 17.8 kB84.0 kB [文件列表]