commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (CSV-43) CSVFormat fluent API is rather inefficient
Date Thu, 29 Mar 2012 20:49:25 GMT


Sebb resolved CSV-43.

    Resolution: Unresolved

No longer using volatile, so nothing to do here.
See CSV-68 for alternative.
> CSVFormat fluent API is rather inefficient
> ------------------------------------------
>                 Key: CSV-43
>                 URL:
>             Project: Commons CSV
>          Issue Type: Improvement
>            Reporter: Sebb
> The implementation of the CSVFormat fluent API is rather inefficient, as each method
invocation clones the original class instance.
> Now that the fields are volatile, it would be possible to do away with the clone() calls
> This would mean that the format could be updated later.
> If such usage is not desirable, then perhaps consider adding some kind of "freeze" method
to prevent further changes.
> Or perhaps the parse() and format() methods could perform the freeze (e.g. set a flag
to disable further updates).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message