[jboss-jira] [JBoss JIRA] Closed: (JBXB-233) optimization in handling default attributes
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Wed Nov 18 10:19:31 EST 2009
[ https://jira.jboss.org/jira/browse/JBXB-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Loubyansky closed JBXB-233.
----------------------------------
Resolution: Done
This is done in RegisteredAttributesHandler which is now used by default in the builder implementation.
> optimization in handling default attributes
> -------------------------------------------
>
> Key: JBXB-233
> URL: https://jira.jboss.org/jira/browse/JBXB-233
> Project: JBoss XML Binding (JBossXB)
> Issue Type: Task
> Reporter: Alexey Loubyansky
> Assignee: Alexey Loubyansky
> Fix For: JBossXB-2.0.2.GA
>
>
> Current implementation is using very inefficient TypeBinding.expandWithDefaultAttributes(attrs) to add to SAX attributes the attributes with default constraints. There are unnecessary creations of maps, iterations over them and modifications. This could be avoided by a more optimized implementation of AttributesHandler.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list