[jbosscache-issues] [JBoss JIRA] Created: (JBCACHE-1421) Optimize writes on primitives and Strings to short-circuit if there are no changes
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Thu Oct 2 10:11:26 EDT 2008
Optimize writes on primitives and Strings to short-circuit if there are no changes
----------------------------------------------------------------------------------
Key: JBCACHE-1421
URL: https://jira.jboss.org/jira/browse/JBCACHE-1421
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Manik Surtani
Assignee: Manik Surtani
Fix For: 3.1.0
E.g.,
cache.put(fqn, "key", "Hello"); // tx 1
... wait ...
cache.put(fqn, "key", "Hello"); // tx 2
tx 2 should be able to short-circuit the process if there is no change in the payload. Only makes sense for primitives and Strings though. Even primitive arrays are not worth it since it would involve iterating through the array.
--
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 jbosscache-issues
mailing list