]
Sanne Grinovero resolved HSEARCH-202.
-------------------------------------
Resolution: Fixed
Fix Version/s: 3.1.0
Avoid many maps lookup in Workspace
-----------------------------------
Key: HSEARCH-202
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-202
Project: Hibernate Search
Issue Type: Improvement
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Priority: Minor
Fix For: 3.1.0
As discussed on dev list:
Workspace contains many maps to needed objects, all having the same key
"DirectoryProvider"; also locks are
kept in an array; Wouldn't it be easier to have a single map, returning a container
object with all needed stuff;
This object could be passed to all other methods instead of the dir.provider and avoid
more gets on the maps.
Also some locking code could go "local" in this container class, I've some
difficulty in tracking the lock sequences.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: