On Fri, 28 Jul 2000, Gerald Richter wrote:

> As far as I understand you you use mmap to read in the source file, is this
> correct?

        Yes.

> If this is true, then it will not make much difference, because reading in
> the source is only a very small piece of all the time that it takes to
> generate the output from a dynamic page.

        I suggest you do some benchmarks.  I have, albeit many months
        ago.  If I recall correctly, I took Yahoo's home page and ran
        it through my HTML Tree and that of Gisle Aas: HTML was about
        7-8 times faster.

> My point was, that the C implementation of parsering and DOM tree
> storage/caching, is much faster (uses much less memory) then doing the same
> in Perl.

        ...and faster still with mmap(2).

        - Paul

Reply via email to