[ https://issues.apache.org/jira/browse/UIMA-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625762#action_12625762 ]
Adam Lally commented on UIMA-1129: ---------------------------------- > -1. We can't have arbitrary clients turn on Delta CAS mode for everybody > else. This must be a global setting. What we want is that when one client turns on delta CAS it does not affect others, but I think that means it must NOT be a global setting. It looks to me like reset() is clearing the mark, so in the case where a client uses the mark and then releases the CAS back to a pool for other clients to use, other clients will not be affected. So I am not sure I see the problem you are objecting to. > > > > bq. It's also faster. > > Could you please clarify. Are you saying checking a boolean is faster than > > checking if an object reference is null ? > I think so, though I admit it's only conjecture. My intuition is that these ought to be the same speed - aren't both just checking a memory location to see if equals some constant value? Without some proof that a boolean check is faster, I'm inclined to say the current implementation is fine. > XMI serialization support for delta CAS > ----------------------------------------- > > Key: UIMA-1129 > URL: https://issues.apache.org/jira/browse/UIMA-1129 > Project: UIMA > Issue Type: New Feature > Components: Core Java Framework > Reporter: Bhavani Iyer > Assignee: Bhavani Iyer > Attachments: UIMA-1129.patch > > > Extend XMI serialization to enable serializing only the changes to the CAS. > The requirement for delta CAS support in order to to reduce serialization > overhead associated with remote services is described in the wiki page found > here: > http://cwiki.apache.org/UIMA/reducing-overhead-for-remote-service-calls.html. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.