[dna-issues] [JBoss JIRA] Updated: (DNA-250) Creating a path from a parent path and a segment is not fast

Randall Hauch (JIRA) jira-events at lists.jboss.org
Tue Nov 11 23:48:36 EST 2008


     [ https://jira.jboss.org/jira/browse/DNA-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randall Hauch updated DNA-250:
------------------------------

    Fix Version/s: 0.4
                       (was: 0.3)
         Priority: Critical  (was: Major)


Rescheduling this for 0.4 (to reduce risk and so we can get 0.3 out the door in the next day or two) and marking as critical.

> Creating a path from a parent path and a segment is not fast
> ------------------------------------------------------------
>
>                 Key: DNA-250
>                 URL: https://jira.jboss.org/jira/browse/DNA-250
>             Project: DNA
>          Issue Type: Bug
>          Components: Graph
>    Affects Versions: 0.3
>            Reporter: Randall Hauch
>            Assignee: Randall Hauch
>            Priority: Critical
>             Fix For: 0.4
>
>
> Currently, we only have one implementation of Path, and each instance contains a list of the Path.Segment instances in the path.  Although the actual Path.Segment instances are shared when creating a path using a parent path, the actual list is not shared.  And this means new allocation for each Path.  This could be more efficient, especially since creating a path from a parent path and a name is perhaps one of the most frequently used methods.
> We probably need an implementation of Path that contains a name plus a reference to a parent.  This would have a smaller memory footprint as well as be faster to create.

-- 
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 dna-issues mailing list