<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Three million rows in a GtkTreeView</title>
	<atom:link href="http://pvanhoof.be/blog/index.php/2006/01/13/three-million-rows-in-a-gtktreeview/feed" rel="self" type="application/rss+xml" />
	<link>http://pvanhoof.be/blog/index.php/2006/01/13/three-million-rows-in-a-gtktreeview</link>
	<description>From the mind of Philip</description>
	<lastBuildDate>Sun, 28 Aug 2011 12:59:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: doverman</title>
		<link>http://pvanhoof.be/blog/index.php/2006/01/13/three-million-rows-in-a-gtktreeview#comment-86</link>
		<dc:creator>doverman</dc:creator>
		<pubDate>Sat, 18 Jul 2009 15:58:06 +0000</pubDate>
		<guid isPermaLink="false">http://pvanhoof.be/blog/?p=87#comment-86</guid>
		<description>How can I get the sample code??
https://svn.cronos.be/svn/custom-treemodel-demo/trunk  ask me for a user and pwd</description>
		<content:encoded><![CDATA[<p>How can I get the sample code??<br />
<a href="https://svn.cronos.be/svn/custom-treemodel-demo/trunk" rel="nofollow">https://svn.cronos.be/svn/custom-treemodel-demo/trunk</a>  ask me for a user and pwd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Murray Cumming</title>
		<link>http://pvanhoof.be/blog/index.php/2006/01/13/three-million-rows-in-a-gtktreeview#comment-85</link>
		<dc:creator>Murray Cumming</dc:creator>
		<pubDate>Tue, 01 Apr 2008 14:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://pvanhoof.be/blog/?p=87#comment-85</guid>
		<description>But how can you avoid having gtk_tree_model_iter_next() called three million times in gtk_tree_view_build_tree()?</description>
		<content:encoded><![CDATA[<p>But how can you avoid having gtk_tree_model_iter_next() called three million times in gtk_tree_view_build_tree()?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pvanhoof</title>
		<link>http://pvanhoof.be/blog/index.php/2006/01/13/three-million-rows-in-a-gtktreeview#comment-84</link>
		<dc:creator>pvanhoof</dc:creator>
		<pubDate>Wed, 19 Apr 2006 17:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://pvanhoof.be/blog/?p=87#comment-84</guid>
		<description>Interesting, I&#039;ll take a look</description>
		<content:encoded><![CDATA[<p>Interesting, I&#8217;ll take a look</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hoa</title>
		<link>http://pvanhoof.be/blog/index.php/2006/01/13/three-million-rows-in-a-gtktreeview#comment-83</link>
		<dc:creator>hoa</dc:creator>
		<pubDate>Wed, 19 Apr 2006 13:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://pvanhoof.be/blog/?p=87#comment-83</guid>
		<description>for etPanX, I am using a customized tree model :
http://dinh.dyndns.org/~dinh/blog/etpanX-2006-01-02-bis.tar.gz

http://dinh.dyndns.org/~dinh/blog/etpan-gtk-tree-model-types.h
http://dinh.dyndns.org/~dinh/blog/etpan-gtk-tree-model.c
http://dinh.dyndns.org/~dinh/blog/etpan-gtk-tree-model.h

Since GtkTreeView work with GtkTreePath, GtkTreeView is slow.
for every node, we have to know its index. Which can lead to two solutions : either :
-  determining the path of the element, which can be slow.
- or caching the index for each node, which will lead to a performance problem when an element will be inserted, you&#039;ll have to update every indexes.

You used the first solution.
I used the second solution.

My model is additionally a tree.
The slowness will show when adding or removing elements.</description>
		<content:encoded><![CDATA[<p>for etPanX, I am using a customized tree model :<br />
<a href="http://dinh.dyndns.org/~dinh/blog/etpanX-2006-01-02-bis.tar.gz" rel="nofollow">http://dinh.dyndns.org/~dinh/blog/etpanX-2006-01-02-bis.tar.gz</a></p>
<p><a href="http://dinh.dyndns.org/~dinh/blog/etpan-gtk-tree-model-types.h" rel="nofollow">http://dinh.dyndns.org/~dinh/blog/etpan-gtk-tree-model-types.h</a><br />
<a href="http://dinh.dyndns.org/~dinh/blog/etpan-gtk-tree-model.c" rel="nofollow">http://dinh.dyndns.org/~dinh/blog/etpan-gtk-tree-model.c</a><br />
<a href="http://dinh.dyndns.org/~dinh/blog/etpan-gtk-tree-model.h" rel="nofollow">http://dinh.dyndns.org/~dinh/blog/etpan-gtk-tree-model.h</a></p>
<p>Since GtkTreeView work with GtkTreePath, GtkTreeView is slow.<br />
for every node, we have to know its index. Which can lead to two solutions : either :<br />
-  determining the path of the element, which can be slow.<br />
- or caching the index for each node, which will lead to a performance problem when an element will be inserted, you&#8217;ll have to update every indexes.</p>
<p>You used the first solution.<br />
I used the second solution.</p>
<p>My model is additionally a tree.<br />
The slowness will show when adding or removing elements.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

