You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robert Greig (JIRA)" <qp...@incubator.apache.org> on 2006/12/13 16:20:20 UTC

[jira] Created: (QPID-180) PropertyFieldTable could be optimised

PropertyFieldTable could be optimised
-------------------------------------

                 Key: QPID-180
                 URL: http://issues.apache.org/jira/browse/QPID-180
             Project: Qpid
          Issue Type: Bug
          Components: Java Common
            Reporter: Robert Greig
         Assigned To: Martin Ritchie


The new implementation of field table has heavy reliance on substring functions for type information. This could be improved by using an enum instead.

Also, does FieldTable interface need to extend Map?

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

        

[jira] Resolved: (QPID-180) PropertyFieldTable could be optimised

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-180?page=all ]

Martin Ritchie resolved QPID-180.
---------------------------------

    Resolution: Fixed

revision 487483 includes update that now uses enum and more rigerous testing of the FieldTable.

> PropertyFieldTable could be optimised
> -------------------------------------
>
>                 Key: QPID-180
>                 URL: http://issues.apache.org/jira/browse/QPID-180
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Common
>            Reporter: Robert Greig
>         Assigned To: Martin Ritchie
>
> The new implementation of field table has heavy reliance on substring functions for type information. This could be improved by using an enum instead.
> Also, does FieldTable interface need to extend Map?

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

        

[jira] Commented: (QPID-180) PropertyFieldTable could be optimised

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/QPID-180?page=comments#action_12458173 ] 
            
Martin Ritchie commented on QPID-180:
-------------------------------------

org.apache.qpid.server.exchange.HeadersBinding uses a map for bindings and the createNewBinding in HeadersExchange pushes values from a String formated with "<attribute1>=<value1>,<attribute2>=<value2>" to a field table. This could be changed  to a map. Thus removing the reliance here on field table being a map.

> PropertyFieldTable could be optimised
> -------------------------------------
>
>                 Key: QPID-180
>                 URL: http://issues.apache.org/jira/browse/QPID-180
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Common
>            Reporter: Robert Greig
>         Assigned To: Martin Ritchie
>
> The new implementation of field table has heavy reliance on substring functions for type information. This could be improved by using an enum instead.
> Also, does FieldTable interface need to extend Map?

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