On Thu, May 29, 2008 at 8:49 AM, Stefano Bagnara <[EMAIL PROTECTED]> wrote:
> Robert Burrell Donkin ha scritto:
>>
>> Maybe only two modes need to be supported: minimal and maximal. The
>> only downside of parsing every standard MIME header is efficiency. So
>> offer either everything or minimum as part of the library. More
>> precise tuning would require suclassing.
>
> Can parsing be delayed to the moment a specific getter is used? (lazy
> parsing) ? Or you want a parse error to be called before in case of invalid
> data?

the pull parser discards any data which isn't used. retrieving and
storing the data would have a cost even if the actual parsing were
left until required. i don't think that the cost would be great but
some applications with extreme needs may want to avoid these costs
entirely.

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to