[ 
https://issues.apache.org/jira/browse/CASSANDRA-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

gabriele renzi updated CASSANDRA-627:
-------------------------------------

    Attachment: CASSANDRA-627-2.patch

uses FastDateFomat instead of SimpleDateFormat in contrib-Circuit, probably 
unnecessary due to the instance being being already shared and protected by a 
lock

> use FastDateFormat instead of SimpleDateFormat 
> -----------------------------------------------
>
>                 Key: CASSANDRA-627
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-627
>             Project: Cassandra
>          Issue Type: Improvement
>         Environment: all
>            Reporter: gabriele renzi
>            Priority: Minor
>         Attachments: CASSANDRA-627-1.patch, CASSANDRA-627-2.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> FastDateFormat is thread safe and can be shared by different instances so we 
> can avoid the overhead of recreating it every time. 
> As in LogUtil we only rely on it for formatting it is a good fit. 
> The usage in Circuit is already protected by a lock so probably no real need 
> for this change.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to