Pacote: libmmap-allocator-dev (0.4.0+git20200122.adbfbe1-2.1)
Links para libmmap-allocator-dev
Recursos de Debian:
- Relatórios de bug
- Informação de desenvolvedor(a)
- Debian Changelog
- Arquivo de copyright
- Rastreador de patch Debian
Baixe o pacote-fonte libmmap-allocator:
- [libmmap-allocator_0.4.0+git20200122.adbfbe1-2.1.dsc]
- [libmmap-allocator_0.4.0+git20200122.adbfbe1.orig.tar.xz]
- [libmmap-allocator_0.4.0+git20200122.adbfbe1-2.1.debian.tar.xz]
Mantenedores(as):
Fontes externas:
- Pagina principal [github.com]
Pacotes similares:
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.
Download de libmmap-allocator-dev
Arquitetura | Tamanho do pacote | Tamanho instalado | Arquivos |
---|---|---|---|
amd64 | 19.1 kB | 87.0 kB | [lista de arquivos] |
arm64 | 18.8 kB | 86.0 kB | [lista de arquivos] |
armhf | 18.8 kB | 79.0 kB | [lista de arquivos] |
i386 | 19.6 kB | 80.0 kB | [lista de arquivos] |
ppc64el | 19.5 kB | 87.0 kB | [lista de arquivos] |
riscv64 | 27.4 kB | 175.0 kB | [lista de arquivos] |
s390x | 18.3 kB | 82.0 kB | [lista de arquivos] |