You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/10/30 11:52:00 UTC

[jira] [Resolved] (CAMEL-15761) camel-core - Optimize TimeUtils to calculate without regexp

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

Claus Ibsen resolved CAMEL-15761.
---------------------------------
    Resolution: Fixed

> camel-core - Optimize TimeUtils to calculate without regexp
> -----------------------------------------------------------
>
>                 Key: CAMEL-15761
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15761
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.7.0
>
>
> This class has a number of regexp for parsing time from human format to millis.
> The profile says this class takes up 7kb due to all those regexp patterns. We can make this code use old fashioned code that checks for > 24 and all of that and build the output.
> Then its a tiny class in size.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)