XML is slow to parse and strings inside the document cannot be memory mapped as they do not have a trailing NUL char. The libxmlb library takes XML source, and converts it to a structured binary representation with a deduplicated string table -- where the strings have the NULs included. This allows an application to mmap the binary XML file, do an XPath query and return some strings without actually parsing the entire document. This is all done using (almost) zero allocations and no actual copying of the binary data. As each node in the binary XML file encodes the 'next' node at the same level it makes skipping whole subtrees trivial. A 10Mb binary XML file can be loaded from disk *and* queried in less than a few milliseconds.
OS | Architecture | Version |
---|---|---|
NetBSD 10.0 | aarch64 | libxmlb-0.3.14.tgz |
NetBSD 10.0 | aarch64 | libxmlb-0.3.14.tgz |
NetBSD 10.0 | aarch64eb | libxmlb-0.3.14.tgz |
NetBSD 10.0 | aarch64eb | libxmlb-0.3.14.tgz |
NetBSD 10.0 | alpha | libxmlb-0.3.14.tgz |
NetBSD 10.0 | alpha | libxmlb-0.3.14.tgz |
NetBSD 10.0 | earmv4 | libxmlb-0.3.14.tgz |
NetBSD 10.0 | earmv4 | libxmlb-0.3.14.tgz |
NetBSD 10.0 | earmv6hf | libxmlb-0.3.14.tgz |
NetBSD 10.0 | earmv6hf | libxmlb-0.3.14.tgz |
NetBSD 10.0 | earmv7hf | libxmlb-0.3.14.tgz |
NetBSD 10.0 | earmv7hf | libxmlb-0.3.14.tgz |
NetBSD 10.0 | i386 | libxmlb-0.3.14.tgz |
NetBSD 10.0 | i386 | libxmlb-0.3.14.tgz |
NetBSD 10.0 | m68k | libxmlb-0.3.14.tgz |
NetBSD 10.0 | powerpc | libxmlb-0.3.14.tgz |
NetBSD 10.0 | powerpc | libxmlb-0.3.14.tgz |
NetBSD 10.0 | powerpc | libxmlb-0.3.14.tgz |
NetBSD 10.0 | sh3el | libxmlb-0.3.14.tgz |
NetBSD 10.0 | sparc64 | libxmlb-0.3.14.tgz |
NetBSD 10.0 | sparc64 | libxmlb-0.3.14.tgz |
NetBSD 10.0 | sparc | libxmlb-0.3.14.tgz |
NetBSD 10.0 | sparc | libxmlb-0.3.14.tgz |
NetBSD 10.0 | x86_64 | libxmlb-0.3.14.tgz |
NetBSD 10.0 | x86_64 | libxmlb-0.3.14.tgz |
NetBSD 9.0 | aarch64 | libxmlb-0.3.14.tgz |
NetBSD 9.0 | alpha | libxmlb-0.3.14.tgz |
NetBSD 9.0 | alpha | libxmlb-0.3.14.tgz |
NetBSD 9.0 | earmv4 | libxmlb-0.3.14.tgz |
NetBSD 9.0 | earmv6hf | libxmlb-0.3.14.tgz |
NetBSD 9.0 | earmv6hf | libxmlb-0.3.14.tgz |
NetBSD 9.0 | earmv6hf | libxmlb-0.3.14.tgz |
NetBSD 9.0 | earmv7hf | libxmlb-0.3.14.tgz |
NetBSD 9.0 | earmv7hf | libxmlb-0.3.14.tgz |
NetBSD 9.0 | i386 | libxmlb-0.3.14.tgz |
NetBSD 9.0 | i386 | libxmlb-0.3.14.tgz |
NetBSD 9.0 | powerpc | libxmlb-0.3.14.tgz |
NetBSD 9.0 | powerpc | libxmlb-0.3.14.tgz |
NetBSD 9.0 | sparc64 | libxmlb-0.3.14.tgz |
NetBSD 9.0 | x86_64 | libxmlb-0.3.14.tgz |
NetBSD 9.0 | x86_64 | libxmlb-0.3.14.tgz |
NetBSD 9.3 | x86_64 | libxmlb-0.3.14.tgz |
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.