The textproc/libxmlb port
libxmlb-0.3.21 – library to help create and query binary XML blobs (cvsweb github mirror)
Description
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. The binary XML is not supposed to be small. It's usually about half the size of the text XML data where a lot of the tag content is duplicated, but can actually be larger than the original XML file. This isn't important; the fast query speed and the ability to mmap strings without copies more than makes up for the larger on-disk size. If you want to compress your XML, this library probably isn't for you -- just use gzip -- it gives you an almost a perfect compression ratio for data like this.WWW: https://github.com/hughsie/libxmlb
Maintainer
Antoine Jacoutot
Categories
Library dependencies
Build dependencies
Files
- /usr/local/bin/xb-tool
- /usr/local/include/libxmlb-2/
- /usr/local/include/libxmlb-2/libxmlb/
- /usr/local/include/libxmlb-2/libxmlb/xb-builder-fixup.h
- /usr/local/include/libxmlb-2/libxmlb/xb-builder-node.h
- /usr/local/include/libxmlb-2/libxmlb/xb-builder-source-ctx.h
- /usr/local/include/libxmlb-2/libxmlb/xb-builder-source.h
- /usr/local/include/libxmlb-2/libxmlb/xb-builder.h
- /usr/local/include/libxmlb-2/libxmlb/xb-compile.h
- /usr/local/include/libxmlb-2/libxmlb/xb-machine.h
- /usr/local/include/libxmlb-2/libxmlb/xb-node-query.h
- /usr/local/include/libxmlb-2/libxmlb/xb-node-silo.h
- /usr/local/include/libxmlb-2/libxmlb/xb-node.h
- /usr/local/include/libxmlb-2/libxmlb/xb-opcode.h
- /usr/local/include/libxmlb-2/libxmlb/xb-query-context.h
- /usr/local/include/libxmlb-2/libxmlb/xb-query.h
- /usr/local/include/libxmlb-2/libxmlb/xb-silo-export.h
- /usr/local/include/libxmlb-2/libxmlb/xb-silo-query.h
- /usr/local/include/libxmlb-2/libxmlb/xb-silo.h
- /usr/local/include/libxmlb-2/libxmlb/xb-stack.h
- /usr/local/include/libxmlb-2/libxmlb/xb-string.h
- /usr/local/include/libxmlb-2/libxmlb/xb-value-bindings.h
- /usr/local/include/libxmlb-2/libxmlb/xb-version.h
- /usr/local/include/libxmlb-2/xmlb.h
- /usr/local/lib/girepository-1.0/Xmlb-2.0.typelib
- /usr/local/lib/libxmlb.so.0.1
- /usr/local/lib/pkgconfig/xmlb.pc
- /usr/local/libexec/installed-tests/
- /usr/local/libexec/installed-tests/libxmlb/
- /usr/local/libexec/installed-tests/libxmlb/test.desktop
- /usr/local/libexec/installed-tests/libxmlb/test.quirk
- /usr/local/libexec/installed-tests/libxmlb/test.xml
- /usr/local/libexec/installed-tests/libxmlb/test.xml.gz.gz.gz
- /usr/local/libexec/installed-tests/libxmlb/test.xml.xz
- /usr/local/libexec/installed-tests/libxmlb/test.xml.zst
- /usr/local/libexec/installed-tests/libxmlb/xb-self-test
- /usr/local/man/man1/xb-tool.1
- /usr/local/share/gir-1.0/Xmlb-2.0.gir
- /usr/local/share/gtk-doc/
- /usr/local/share/gtk-doc/html/
- /usr/local/share/gtk-doc/html/libxmlb/
- /usr/local/share/gtk-doc/html/libxmlb/annotation-glossary.html
- /usr/local/share/gtk-doc/html/libxmlb/api-index-full.html
- /usr/local/share/gtk-doc/html/libxmlb/deprecated-api-index.html
- /usr/local/share/gtk-doc/html/libxmlb/home.png
- /usr/local/share/gtk-doc/html/libxmlb/index.html
- /usr/local/share/gtk-doc/html/libxmlb/intro.html
- /usr/local/share/gtk-doc/html/libxmlb/left-insensitive.png
- /usr/local/share/gtk-doc/html/libxmlb/left.png
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-XbBuilder.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-XbBuilderFixup.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-XbBuilderNode.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-XbBuilderSource.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-XbBuilderSourceCtx.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-XbMachine.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-XbNode.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-XbQuery.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-XbSilo.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-xb-node-query.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-xb-opcode.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-xb-query-context.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-xb-silo-export.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-xb-silo-query.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-xb-stack.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-xb-string.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb-xb-value-bindings.html
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb.devhelp2
- /usr/local/share/gtk-doc/html/libxmlb/libxmlb.html
- /usr/local/share/gtk-doc/html/libxmlb/right-insensitive.png
- /usr/local/share/gtk-doc/html/libxmlb/right.png
- /usr/local/share/gtk-doc/html/libxmlb/style.css
- /usr/local/share/gtk-doc/html/libxmlb/up-insensitive.png
- /usr/local/share/gtk-doc/html/libxmlb/up.png
- /usr/local/share/installed-tests/
- /usr/local/share/installed-tests/libxmlb/
- /usr/local/share/installed-tests/libxmlb/libxmlb.test