Link to home
Start Free TrialLog in
Avatar of markshiffer
markshifferFlag for United States of America

asked on

What is the fastest Treeview Componenet?

What is the fastest Treeview Componenet
available? Delphi's standard TTreeview is much to slow and I've found RapidTree to be fast but full of error ridden code. Any suggestions? Anyone else have problems with RapidTree?
Avatar of Lischke
Lischke

Goto my homepage and download TreeNT


www.lischke-online.de/TreeNT.html

Ciao, Mike
Avatar of kretzschmar
hi mike :-)
:-)) Hi Meikl...
Avatar of markshiffer

ASKER

Mike,

  Can you give me specific speed specs?

Adding 10,000 nodes?
Clearing 10,000 nodes?

TRapidTree is fast, but error prone. TDreamTree or something like that is fast in there demo, but when I actually used there component it was rather slow.
For example:

RapidTree:
20,000 Add in 500ms
20,000 Clear in 300ms

DreamTree:
  In Demo:
  20,000 Add in 250ms
  20,000 Clear in 350ms

  In App:
  20,000 Add in 12 sec
  20,000 Clear in 20 sec

your turn, mike :-)
For example:

RapidTree:
20,000 Add in 500ms
20,000 Clear in 300ms

DreamTree:
  In Demo:
  20,000 Add in 250ms
  20,000 Clear in 350ms

  In App:
  20,000 Add in 12 sec
  20,000 Clear in 20 sec

For 10 points? Mark, take TreeNT. It is fast enough (and my new virtual treeview is even faster => 1,000,000 nodes, 1 million, in ~900ms on an AMD 650Mhz)

Ciao, Mike
before you ask, VT is still beta, just take TreeNT

Ciao, Mike
guess i dont need to post a link for treeNT then  ;-)
You can say its fast enough, but our end users won't put up with any delays. I'm dealing with doctors here and they're pretty anal-retentive when it comes to computer apps. I downloaded your demo and ran it. It won't let me add more than 1000 root node levels, but even that is almost three times slower than DreamTree and two times slower than RapidTree. I'm not trying to put down your component, I'm just trying to find the best component for what I need (stability and speed, alot of speed).
:-)

btw: I wonder that the other trees are so fast (what means "in App"?). For TreeNT I got:

 4 levels a 12 nodes (22,620) in 3250ms
 clear in 875ms

measured on a PII-350Mhz (don't forget BeginUpdate/EndUpdate in your application before adding/deleting nodes).

Enough said for 10 points :-)

Ciao, Mike
I'm on a PII-450 Mhz and the other trees add and clear in a tenth of the time that it takes TreeNT. "In app" meant that DreamTree does not perform nearly as fast when actually using it as it does in the demo.

And yes, this is a low point question right now, because I was just looking for people to give suggestions tree components (not very perplexing). I was not looking to get into a debate on why certain trees are faster than others. (obviously COM32 is the largest factor there)

I appreciate your input, and maybe your virtual tree component would work, but your saying that it isn't ready for release?

BTW. For a completely free component TreeNT is great. Just thought I would give you some encouragement.
ASKER CERTIFIED SOLUTION
Avatar of Lischke
Lischke

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Mark, give me your email address and I send you a demo of VT. (my is public@lischke-online.de)

Ciao, Mike