[Numpy-discussion] Fastest way to parsing a specific binay file
Wed Sep 2 12:29:42 CDT 2009
On Wed, Sep 2, 2009 at 12:27, Gökhan Sever<email@example.com> wrote:
> On Wed, Sep 2, 2009 at 12:01 PM, Citi, Luca <firstname.lastname@example.org> wrote:
>> If I understand the problem...
>> if you are 100% sure that "', '" only occurs between fields
>> and never within, you can use the 'split' method of the string
>> which could be faster than regexp in this simple case.
>> NumPy-Discussion mailing list
> But it is not possible to extract a pattern such as within a field. A
> construct like in regex starting with a ; till the end of the section. ??
I can't parse that sentence. Can you describe the format in a little
more detail? Or point to documentation of the format? Or the IDL code
that parses it?
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion