Commit Graph

1 Commits

Author SHA256 Message Date
cab80b5919 Accepting request 665017 from home:iznogood:branches:Base:System
Needed for future version of fwupd

Library for querying compressed XML metadata 
https://github.com/hughsie/libxmlb

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.

OBS-URL: https://build.opensuse.org/request/show/665017
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=1
2019-01-15 08:14:23 +00:00