[jboss-jira] [JBoss JIRA] Closed: (JBRULES-731) Performance improvement for ReturnValue

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Wed Mar 14 10:57:36 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-731?page=all ]

Edson Tirelli closed JBRULES-731.
---------------------------------

    Resolution: Rejected

The methods that are called do not make any tests. 

> Performance improvement for ReturnValue
> ---------------------------------------
>
>                 Key: JBRULES-731
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-731
>             Project: JBoss Rules
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Mark Proctor
>         Assigned To: Mark Proctor
>             Fix For: 3.1-m2
>
>
> I noticed that ReturnValue for the java dialect is suboptimal. The template has the following:
>     return org.drools.base.FieldFactory.getFieldValue( <text> );
> This does a series of if/else if checks to find the wrapper. Yet we know what it's being compared against, we really should have that FieldValue factory fached, to avoid the series of checks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list