Improve performance of testsuite DummyInMemoryCacheLoader#remove
----------------------------------------------------------------
Key: JBCACHE-1615
URL:
https://issues.jboss.org/browse/JBCACHE-1615
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.2.8.GA
Reporter: Dennis Reed
Assignee: Dennis Reed
Fix For: 3.2.9.GA
org.jboss.cache.loader.testloaders.DummyInMemoryCacheLoader#remove calls
recursivelyRemoveChildren.
The runtime of the recursive algorithm used by recursivelyRemoveChildren increases at
least polynomially with the size of the cache.
A simple change to remove the recursion can reduce the runtime to linear with the size of
the cache.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: