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

Re: [MacPerl] Searching a VERY large text file



[stuff deleted]
>
>Is there some way of compiling MacPerl scripts into machine language or
>converting them into C/C++ routines that I could then read into
>CodeWarrior... Maybe this would increase speed - then again maybe not??
>
>Thanks,
>
>Shyam.
>
[stuff deleted]

Depending on what functionality you are looking for from
Perl, there may be libraries out there to do what you
want.  For instance, if you want to do regexp searching
(and can accept a somewhat more limited version of regexp
than offered by Perl) you could get Henry Spencer's regexp
library.  I converted a version of HS regexp to object
format that you might find useful:

<ftp://ftp.metrowerks.com//pub/powerplant/Utility/CHSRegExp.sit.hqx>

I believe there is also a regexp library ported from out
of the Perl code, but, I don't know where it is :-(.

Alternatively, you might try MPW's search command, or BBEdit's
blinding fast search function.  Both of which are AppleScriptable.

Tom.

Tom Kimpton
--
Mrs. Bun: Have you got anything without spam?
Waitress: Well, there's spam egg sausage and spam, that's not got
much spam in it.
Mrs. Bun: I don't want any spam!



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch