commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CSV-184) CSVRecord toMap Method(LoadFactor for HashMap)
Date Mon, 30 May 2016 19:51:12 GMT

    [ https://issues.apache.org/jira/browse/CSV-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15306913#comment-15306913
] 

Gary Gregory commented on CSV-184:
----------------------------------

I would be Ok with a new method toMap(int loadFactor). I would _not_ want to change the current
impl of toMap() to change the default LF.

Gary

> CSVRecord toMap Method(LoadFactor for HashMap)
> ----------------------------------------------
>
>                 Key: CSV-184
>                 URL: https://issues.apache.org/jira/browse/CSV-184
>             Project: Commons CSV
>          Issue Type: Improvement
>          Components: Parser
>    Affects Versions: 1.4
>            Reporter: Gaurav Agarwal
>            Priority: Minor
>
> Set loadFactor for Hashmap Object to 1(Default : 0.75) as currently it will always resize
the map when we are putting entries in it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message