libmmap-allocator 0.4.0+git20200122.adbfbe1-2 source package in Ubuntu
Changelog
libmmap-allocator (0.4.0+git20200122.adbfbe1-2) unstable; urgency=medium * Team Upload. * Install shared lib as well * Bump Standards-Version to 4.7.0 (no changes needed) * Add patch to get package cross-building * d/rules: Use dh_auto_build instead of hardcoding MAKE * Add patch for hardening opts -- Nilesh Patra <email address hidden> Sun, 26 May 2024 15:34:47 +0530
Upload details
- Uploaded by:
- Debian Med
- Uploaded to:
- Sid
- Original maintainer:
- Debian Med
- Architectures:
- any
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libmmap-allocator_0.4.0+git20200122.adbfbe1-2.dsc | 1.6 KiB | 9c014860346df433293e50d60dd73df67313c66103a7c0bdb89c3d9bb1eb52cc |
libmmap-allocator_0.4.0+git20200122.adbfbe1.orig.tar.xz | 10.5 KiB | 59eb68efeabefc8c3a4c308c9a65d055eeb34fd396a1d39bb45bea7d5073360a |
libmmap-allocator_0.4.0+git20200122.adbfbe1-2.debian.tar.xz | 3.3 KiB | 6f4ef018511313ae57b7505fff7139627c2f73a498919b9475d209bf10aa5e52 |
Available diffs
No changes file available.
Binary packages built by this source
- libmmap-allocator-dev: 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.