[infinispan-issues] [JBoss JIRA] (ISPN-2044) Optimize marshalling of EnumSet<Flag>

Sanne Grinovero (JIRA) jira-events at lists.jboss.org
Wed May 16 06:37:18 EDT 2012


    [ https://issues.jboss.org/browse/ISPN-2044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693211#comment-12693211 ] 

Sanne Grinovero commented on ISPN-2044:
---------------------------------------

>From mailing list: http://lists.jboss.org/pipermail/infinispan-dev/2012-May/010697.html
Galder suggests to create a custom FlagSet container. Looks like a good idea, but not sure how large such a patch would be (just wondering for 5.1.x)
                
> Optimize marshalling of EnumSet<Flag>
> -------------------------------------
>
>                 Key: ISPN-2044
>                 URL: https://issues.jboss.org/browse/ISPN-2044
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Marshalling
>            Reporter: Sanne Grinovero
>            Assignee: Galder ZamarreƱo
>             Fix For: 5.2.0.FINAL
>
>
> When marshalling Flags, it looks like we could encode the whole EnumSet as a bitset, or use a different Marshaller ID for the empty enumset (which I'm assuming is a common case so worth optimizing for)
> See also thread: http://lists.jboss.org/pipermail/infinispan-dev/2012-May/010635.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list