Re: gtk_ctree_insert_node - why so slow?
- From: John Cupitt <john cupitt ng-london org uk>
- To: Olaf Frączyk <olaf cbk poznan pl>
- Cc: gtk-list gnome org
- Subject: Re: gtk_ctree_insert_node - why so slow?
- Date: Thu, 15 Nov 2001 12:50:54 +0000
Olaf Frączyk wrote:
On 2001.11.14 17:04:04 +0100 Olaf Frączyk wrote:
As I found inserting 6000 nodes takes 4.5 second (+/- 100 msec) on
Celeron 466 with no load.
Oh, I found whats happening. If sibling == NULL this takes so much time.
If sibling != NULL it takes 0.065 second.
Anyone has idea why? It creates them (these without siblings) as
subtrees or something?
Hi Olaf, could you post a test program that shows this bad behaviour?
It'll save us each making one :-)
(maybe you have auto_sort turned on? turn it off, insert 6000 times,
then turn it on again)
JOhn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]