всички настройки
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 кБ86,0 кБ [списък на файловете]
arm64 18,0 кБ84,0 кБ [списък на файловете]
armel 18,1 кБ80,0 кБ [списък на файловете]
armhf 17,8 кБ78,0 кБ [списък на файловете]
i386 18,8 кБ80,0 кБ [списък на файловете]
mips64el 18,9 кБ91,0 кБ [списък на файловете]
mipsel 19,1 кБ81,0 кБ [списък на файловете]
s390x 17,8 кБ84,0 кБ [списък на файловете]