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

Mark Proctor (JIRA) jira-events at lists.jboss.org
Sat Mar 10 22:23:46 EST 2007


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