Mac OS 9 Lives

Mac OS 9 Discussion => Development & Programming => Topic started by: OS923 on April 26, 2019, 04:24:30 AM

Title: VTD-XML
Post by: OS923 on April 26, 2019, 04:24:30 AM
I linked VTD-XML 2.12 for OS 9. It can parse at 30 MB/s.

From their website:
Quote
VTD-XML is, far and away, the industry's most advanced and powerful XML processing model for SOA and Cloud Computing! It is simultaneously:
  • The world's most memory-efficient (1.3x~1.5x the size of an XML document) random-access XML parser.
  • The world's fastest XML parser: On a Core2 2.5Ghz Desktop, VTD-XML outperforms DOM parsers by 5x~12x, delivering 150~250 MB/sec per core sustained throughput.
  • The world's fastest XPath 1.0 implementation.
  • The world's most efficient XML indexer that seamlessly integrates with your XML applications.
  • The world's only incremental-update capable XML parser capable of cutting, pasting, splitting and assembling XML documents with max efficiency.
  • The world's only XML parser that allows you to use XPath to process 256 GB XML documents.
  • The XML technology that they don't want you to know about.
The latest version is 2.12, available in C, C++, ...

You need to change
Code: [Select]
#include <sys/types.h>
#include <sys/stat.h>
into
Code: [Select]
#include <types.h>
#include <stat.h>

You need to define:
Code: [Select]
#include <extras.h>
#define wcsdup _wcsdup

There was also a problem with h1 and h2 not being initialized in 2 constructors.
Title: Re: VTD-XML
Post by: Protools5LEGuy on April 26, 2019, 07:24:28 AM
https://vtd-xml.sourceforge.io/ (https://vtd-xml.sourceforge.io/)