Brian Ingerson wrote:
Um, am I missing something or is this not the solution that 0.44 has always provided you:
use Inline C => DATA => USING => "ParseRegExp", ...
Inline::C comes with two parsers, one P::RD and one RegExp. The RegExp one is meant to become default in the next release. But it seems nobody knows about it...
And that includes me.
If you don't read the README and/or the CHANGES you're probably not going to find out about that option as there's no mention of it in the Inline pod (or the Cookbook) that I could find .... and no-one *ever* reads those 2 files that do mention it :-)
I gave ParseRegExp a try - but on the file I tested it didn't produce a complete XS file. The XS file that it produced appears to be the same as that produced by P::RD, except that the last 20 or so lines are missing.
There's no obvious reason as to why it would have stopped writing where it did ... which makes me think that there might be some (buffer ?) size limit condition interfering. I'll take a look when I have the time - because it is certainly *much* faster.
Cheers, Rob
--
Any emails containing attachments will be deleted from my ISP's mail server before I even get to see them. If you wish to email me an attachment, please provide advance warning so that I can make the necessary arrangements.