Claus Ibsen created CAMEL-15761:
-----------------------------------
Summary: 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
Fix For: 3.7.0
This class has a number of regexp for calculating time in human format.
The profile says this class takes up 6kb 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)