[hibernate-issues] [Hibernate-JIRA] Resolved: (HSEARCH-202) Avoid many maps lookup in Workspace

Sanne Grinovero (JIRA) noreply at atlassian.com
Thu May 29 18:16:33 EDT 2008


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list