[Xapian-discuss] PHP Fatal error while indexing Wikipedia

James Aylett james-xapian at tartarus.org
Fri Jan 4 03:19:27 GMT 2008


On Fri, Jan 04, 2008 at 02:48:10AM +0000, Olly Betts wrote:

> > We could avoid this with runkit [...]
> 
> I'd worry it might be slow too.

No, it's PECL not PEAR, so it should be patching the data structures
internally. (PECL is the C extensions library for PHP.) Of course, it
might not actually do that... but it /should/ do :)

> > Adding this functionality to SWIG would be preferrable. If the #pragma
> > could operate within a class declaration, that would do it -
> > syntactically; I have no idea how much pain that is to implement :-)
> 
> Shouldn't be too bad - we "just" need to store it on the class node and
> then print it out at the appropriate moment.

I should actually look at the SWIG internals at some point :)

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list