toutes les options
bullseye  ] [  bookworm  ] [  trixie  ] [  forky  ] [  sid  ]
[ Paquet source : libmmap-allocator  ]

Paquet : libmmap-allocator-dev (0.4.0+git20200122.adbfbe1-2.1)

Liens pour libmmap-allocator-dev

Screenshot

Ressources Debian :

Télécharger le paquet source libmmap-allocator :

Responsables :

Ressources externes :

Paquets similaires :

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.

Étiquettes: Développement de logiciel: Bibliothèques, Rôle: Bibliothèque de programmation

Télécharger libmmap-allocator-dev

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
amd64 19,1 ko87,0 ko [liste des fichiers]
arm64 18,8 ko86,0 ko [liste des fichiers]
armhf 18,8 ko79,0 ko [liste des fichiers]
i386 19,6 ko80,0 ko [liste des fichiers]
ppc64el 19,5 ko87,0 ko [liste des fichiers]
riscv64 27,4 ko175,0 ko [liste des fichiers]
s390x 18,3 ko82,0 ko [liste des fichiers]