commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1247) FastDatePrinter generates Date objects wastefully
Date Tue, 05 Jul 2016 20:39:11 GMT

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

Sebb commented on LANG-1247:
----------------------------

The Date is clearly unnecessary; it's only being used to carry the long time.

Effectively the patch inlines the code, bypassing the Date wrapper entirely.

So I don't think a benchmark is necessary.

> FastDatePrinter generates Date objects wastefully
> -------------------------------------------------
>
>                 Key: LANG-1247
>                 URL: https://issues.apache.org/jira/browse/LANG-1247
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.time.*
>    Affects Versions: 3.4
>            Reporter: Benoit Wiart
>
> This a follow up of LANG-849.
> Fastdateprinter allocate unneeded Date from long.
> PR : https://github.com/apache/commons-lang/pull/168



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

Mime
View raw message