Re: [Haskell-cafe] Re: fast graph algorithms without object identities

2008-02-26 Thread Jan-Willem Maessen
On Feb 23, 2008, at 5:48 PM, apfelmus wrote: Henning Thielemann wrote: It seems that algorithms on graphs can be implemented particularly efficient in low-level languages with pointers and in-place updates. E.g. topological sort needs only linear time, provided that dereferencing pointers r

[Haskell-cafe] Re: fast graph algorithms without object identities

2008-02-23 Thread apfelmus
Henning Thielemann wrote: It seems that algorithms on graphs can be implemented particularly efficient in low-level languages with pointers and in-place updates. E.g. topological sort needs only linear time, provided that dereferencing pointers requires constant time. I could simulate pointer der