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

ASF subversion and git services commented on ARTEMIS-1997:
----------------------------------------------------------

Commit 332cee8e663e729e2af274715cf0e1911a320297 in activemq-artemis's branch 
refs/heads/master from [~teaandcoffee]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=332cee8 ]

ARTEMIS-1997 - un-needed SimpleString creation on hotpath with Filters

Create the SimpleString on construction of PropertyExpression so it can be 
re-used instead of creating it every time its filtered in the FilterImpl


> Filters cause unneeded SimpleString creation on hotpath
> -------------------------------------------------------
>
>                 Key: ARTEMIS-1997
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1997
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>            Reporter: Michael Andre Pearce
>            Assignee: Michael Andre Pearce
>            Priority: Major
>
> Currently when a filter is used, every property key needed is creating a 
> SimpleString property key, even though this static for the life of the 
> property expression.
> Creating the SimpleString at construction of the PropertyExpression would 
> remove this.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to