You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2021/07/13 02:26:00 UTC
[jira] [Commented] (CSV-279) Optimize Lexer Delimiter Check for One
Character Delimiter
[ https://issues.apache.org/jira/browse/CSV-279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17379527#comment-17379527 ]
David Mollitor commented on CSV-279:
------------------------------------
{code:none}
Benchmark (lower is better) Mode Cnt Score Error Units
-- With Early-Exit For One Character Delimiter
CSVBenchmark.parseCommonsCSV avgt 20 4321.901 ± 283.269 ms/op
-- Without Early-Exit For One Character Delimiter
CSVBenchmark.parseCommonsCSV avgt 20 5953.654 ± 114.261 ms/op
{code}
Good return on investment.
> Optimize Lexer Delimiter Check for One Character Delimiter
> ----------------------------------------------------------
>
> Key: CSV-279
> URL: https://issues.apache.org/jira/browse/CSV-279
> Project: Commons CSV
> Issue Type: Sub-task
> Reporter: David Mollitor
> Priority: Major
>
> Can break-out earlier if the delimiter is only one character (common use case).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)