pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/unordered-dense
Module Name: pkgsrc
Committed By: ktnb
Date: Sun Oct 4 12:55:44 UTC 2026
Modified Files:
pkgsrc/devel/unordered-dense: Makefile PLIST distinfo
Log Message:
unordered-dense: update to 5.3.1
- A map can now be saved and loaded back without hashing a single
key, or used in place straight from a file. Also, the insert has
one shape for every compiler now, which removes the 3-3.7x
slowdowns 5.2.0 had in some callers' loops, and costs 2.4% (clang)
and 5.2% (gcc) on the benchmark suite's score. Same hash values and
same iteration order as 5.2.0.
- Load a map from its values and its index
A map is two arrays, the values and the index, and the index is
plain bytes without any pointers in it. `index()` hands it out, and
the owning constructor builds a map from both arrays again, 3-17x
faster than inserting at 1M to 64M entries. `map_view` and
`set_view` use both arrays in place, e.g. from a file mapping or
shared memory, and copy nothing. The new header `mapped_view.h`
maps a file and owns the view over it; on hugetlbfs random hits are
1.02-1.16x faster than on 4 KB pages from 4M to 64M entries. The
constructors take `trust::checked` or `trust::unchecked`, there is
no default: a checked view costs 0.85 ns per entry, once.
- `map` is 64 bytes instead of 80, and an empty map reads a shared,
never written index, so `find` does not test for an empty table any
more.
- A key of 8, 12 or 16 bytes is hashed with 4 byte reads, so a key
written field by field right before its lookup can be forwarded
from the stores: 146 -> 40 cycles.
- The insert has one shape for every compiler
- A bug fix release for `map_view` and `set_view`, which came with 5.3.0
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/unordered-dense/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/unordered-dense/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/unordered-dense/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/unordered-dense/Makefile
diff -u pkgsrc/devel/unordered-dense/Makefile:1.5 pkgsrc/devel/unordered-dense/Makefile:1.6
--- pkgsrc/devel/unordered-dense/Makefile:1.5 Sat Sep 26 14:48:33 2026
+++ pkgsrc/devel/unordered-dense/Makefile Sun Oct 4 12:55:43 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2026/09/26 14:48:33 ktnb Exp $
+# $NetBSD: Makefile,v 1.6 2026/10/04 12:55:43 ktnb Exp $
-DISTNAME= unordered_dense-5.1.0
+DISTNAME= unordered_dense-5.3.1
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=martinus/}
Index: pkgsrc/devel/unordered-dense/PLIST
diff -u pkgsrc/devel/unordered-dense/PLIST:1.1 pkgsrc/devel/unordered-dense/PLIST:1.2
--- pkgsrc/devel/unordered-dense/PLIST:1.1 Thu Sep 24 16:16:33 2026
+++ pkgsrc/devel/unordered-dense/PLIST Sun Oct 4 12:55:43 2026
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2026/09/24 16:16:33 ktnb Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/10/04 12:55:43 ktnb Exp $
include/ankerl/huge_page_allocator.h
+include/ankerl/mapped_view.h
include/ankerl/stl.h
include/ankerl/unordered_dense.h
lib/cmake/unordered_dense/unordered_denseConfig.cmake
Index: pkgsrc/devel/unordered-dense/distinfo
diff -u pkgsrc/devel/unordered-dense/distinfo:1.2 pkgsrc/devel/unordered-dense/distinfo:1.3
--- pkgsrc/devel/unordered-dense/distinfo:1.2 Sat Sep 26 14:48:33 2026
+++ pkgsrc/devel/unordered-dense/distinfo Sun Oct 4 12:55:43 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2026/09/26 14:48:33 ktnb Exp $
+$NetBSD: distinfo,v 1.3 2026/10/04 12:55:43 ktnb Exp $
-BLAKE2s (unordered_dense-5.1.0.tar.gz) = fe8875fb04ec0ad9fd55ffb1170f82c36173a4b5897505b20660a500b996cfb9
-SHA512 (unordered_dense-5.1.0.tar.gz) = 9aa55c71063d6db45039d2f152119ad7ae3a21dc9384690205d26d95fc9d07a4274d76c490fb963e124104cff2a3a1a7eb530f3f7df91b92c346cd3b40a410c8
-Size (unordered_dense-5.1.0.tar.gz) = 2274082 bytes
+BLAKE2s (unordered_dense-5.3.1.tar.gz) = ae255bb73d7c0f4f8d072c79331bb0e37ad6c14443bb75030eb4d10e04321495
+SHA512 (unordered_dense-5.3.1.tar.gz) = 638478f2fb99e06f2062bc6343140bc0fd68d342a05770099096896fdfaefe8c644d7b687644769484d44267196a9f93709aab6ad6759c13c9d28de549cfa923
+Size (unordered_dense-5.3.1.tar.gz) = 2585574 bytes
SHA1 (patch-test_app_doctest.h) = c807010af0906b01b07186cb2b96ed6e3978dc25
Home |
Main Index |
Thread Index |
Old Index