Re: PermIds and the new ContextCommit

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Mar 13 2003 - 21:00:00 EST

  • Next message: Andrus Adamchik: "QueryRunner interface"

    Andriy Shapochka wrote:
    >>about performance. I plan to refactor this further, switching it to use
    >>DefaultSorter for entity sorting, to avoid duplicating the sorting
    >>algorithm. Hope both algorithms work the same way.
    >>
    >
    >
    > In my opinion we shouldn't do this. DefaultSorter and PrimaryKeyHelper share
    > the same topological sort algorithm from Ashwood, IndegreeTopologicalSort,
    > it is true, but they operate on very different graphs. The way their
    > internal graphs are built is the main behavioral distinction of these two
    > classes. So the separation was entirely deliberate.
    >
    > Andriy.

    I suspected something like that. Thanks for confirming it. Ok, will
    leave it alone :-)

    Andrus



    This archive was generated by hypermail 2.0.0 : Thu Mar 13 2003 - 21:02:58 EST