BSD Ports

textproc/libxmlb 0.3.22 DragonFly

Library to help create and query binary XML blobs

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
LGPL21
Categories
textproc
Package size
140.7 KiB, 1228.2 KiB installed

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.

In the other systems

SystemPortVersion
DragonFlytextproc/libxmlb0.3.22
FreeBSDtextproc/libxmlb0.3.27
OpenBSDtextproc/libxmlb0.3.29
NetBSDtextproc/libxmlb0.3.29nb1
MidnightBSDtextproc/libxmlb0.3.27

Install

Binary package:

pkg install libxmlb

From DPorts:

cd /usr/dports/textproc/libxmlb && make install clean

Dependencies

Run dependencies 4
Required by 1