[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] New RPM libezxml



> So I have 2 questions:
> a) We dont use "nmap/mmap" yet do we (due to MiNT lacking a virtual
memory manager)?

No support for that, but the lib takes care of that and uses malloc
instead of mmap.

> b) Ole, have you tested large xml files yet, or used the above
> mentioned functions?

I havent't tested large XML files until now, but one thing I can tell: It
will at least use twice the size of the file for an short time, because it
loads the whole file into memory, than creates the xml struct.
I always used xml_parse_file, so no problem with it. For really large
files this lib seems to be the wrong lib. I think xml_parse_file is just
an wrapper for xml_parse_fd, the lib isn't taking care of functions like
fseek.

-- 
Greets,
Ole



-- 
Greets,
Ole