?
Solved

What is the fastest Treeview Componenet?

Posted on 2000-03-22
16
Medium Priority
?
303 Views
Last Modified: 2010-04-04
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?
0
Comment
Question by:markshiffer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
  • 3
  • +1
16 Comments
 
LVL 10

Expert Comment

by:Lischke
ID: 2644756
Goto my homepage and download TreeNT


www.lischke-online.de/TreeNT.html

Ciao, Mike
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 2644758
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 2644761
hi mike :-)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:Lischke
ID: 2644798
:-)) Hi Meikl...
0
 
LVL 3

Author Comment

by:markshiffer
ID: 2644805
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.
0
 
LVL 3

Author Comment

by:markshiffer
ID: 2644830
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

0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 2644834
your turn, mike :-)
0
 
LVL 3

Author Comment

by:markshiffer
ID: 2644847
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

0
 
LVL 10

Expert Comment

by:Lischke
ID: 2644863
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
0
 
LVL 10

Expert Comment

by:Lischke
ID: 2644873
before you ask, VT is still beta, just take TreeNT

Ciao, Mike
0
 
LVL 17

Expert Comment

by:inthe
ID: 2644877
guess i dont need to post a link for treeNT then  ;-)
0
 
LVL 3

Author Comment

by:markshiffer
ID: 2644901
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).
0
 
LVL 10

Expert Comment

by:Lischke
ID: 2644917
:-)

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
0
 
LVL 3

Author Comment

by:markshiffer
ID: 2644964
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.
0
 
LVL 10

Accepted Solution

by:
Lischke earned 20 total points
ID: 2644968
Oooh, it seems TreeNT can no longer compete ;-). Well, at least it is freeware and not so buggy as the other implementations.

RapidTree doesn't use the Windows tree control as base AFAIK, so it doesn't suffer so much as other implementations (don't know about DreamTree).

Make your decision, Mark, I don't earn money with it, so my interest that you use TreeNT is, ahem, limited...

Ciao, Mike
0
 
LVL 10

Expert Comment

by:Lischke
ID: 2644980
Mark, give me your email address and I send you a demo of VT. (my is public@lischke-online.de)

Ciao, Mike
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question