For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > November 2007 > Re: [PHP-DOC] On serializing the id index









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DOC] On serializing the id index
Hannes Magnusson

2007-11-30, 7:02 pm

On Nov 30, 2007 7:03 PM, Edward Z. Yang <edwardzyang@thewritingpot.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Richard Quadling wrote:
>
> That's an interesting technique. However, PHP's source code parser is
> quite a bit more complicated than what our index format needs, so it's
> quite possible that the fact that our custom format's simplicity would
> offset PHP's performance gains from being written in C (I suppose we'd
> have to benchmark to find out, but I remember MediaWiki's developers
> talking about this).
>
> The other implementation difficulty is getting the references to point
> to the right locations in var_export, which is probably impossible,
> which means we have to make a copy of $IDs in order to process in order
> a non-referenced structure (alternatively, reversibly de-reference and
> reference the children's entries).


The indexer is stupid, poorly written and needs to index much more
than it currently does.
Working from the assumption mktoc.php is and sufficient is wrong :)

-Hannes
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com