Menu

#10 DefaultMBModel.getRelations() implementation

closed
Backend (13)
1
2004-02-24
2004-02-07
No

The implementation of the getRelations() method in
DefaultMBModel could be improved by iterating directly
the values() (LinkedLists of Relations) of 'relationTypes'
instead of iterating keySet() (RelationTypes) and
retrieving the LinkedList for each key using get(iter.next
()) from 'relationTypes'.

Discussion

  • Christoph Müller

    • priority: 5 --> 1
     
  • Jan Roehrich

    Jan Roehrich - 2004-02-24
    • status: open --> closed
     
  • Jan Roehrich

    Jan Roehrich - 2004-02-24

    Logged In: YES
    user_id=77680

    Yes, but DefaultMBModel is only a prototype. For better
    performance choose RelationCachedModel.

     

Log in to post a comment.

MongoDB Logo MongoDB