<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Phil Dawes' Stuff - Latest Comments in Suffix array performance problems</title><link>http://phildawesstuff.disqus.com/</link><description></description><atom:link href="https://phildawesstuff.disqus.com/suffix_array_performance_problems/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 13 Oct 2006 21:58:36 -0000</lastBuildDate><item><title>Re: Suffix array performance problems</title><link>http://www.phildawes.net/blog/2005/01/01/suffix-array-performance-problems/#comment-2752939</link><description>&lt;p&gt;i'm HMT&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">HoangThanh</dc:creator><pubDate>Fri, 13 Oct 2006 21:58:36 -0000</pubDate></item><item><title>Re: Suffix array performance problems</title><link>http://www.phildawes.net/blog/2005/01/01/suffix-array-performance-problems/#comment-2752936</link><description>&lt;p&gt;Hi !&lt;/p&gt;&lt;p&gt;Looking for a suffix index that would tell me what programs open files with what suffix.  Such that it would tell me what program created on what programs would open files say with .jpg suffix.&lt;/p&gt;&lt;p&gt;Probably totally in the wrong place, but could you help?&lt;/p&gt;&lt;p&gt;Ed.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ed</dc:creator><pubDate>Thu, 10 Feb 2005 16:38:12 -0000</pubDate></item><item><title>Re: Suffix array performance problems</title><link>http://www.phildawes.net/blog/2005/01/01/suffix-array-performance-problems/#comment-2752938</link><description>&lt;p&gt;Have implemented the changes in veudastore - released &lt;a href="http://www.sf.net/projects/veudas" rel="nofollow noopener" target="_blank" title="http://www.sf.net/projects/veudas"&gt;version 0.3&lt;/a&gt;. &lt;br&gt;To use this with veudas, replace the cgi-bin/veudas-0.6/veudastore directory with this release&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Phil Dawes</dc:creator><pubDate>Sat, 01 Jan 2005 16:32:59 -0000</pubDate></item><item><title>Re: Suffix array performance problems</title><link>http://www.phildawes.net/blog/2005/01/01/suffix-array-performance-problems/#comment-2752937</link><description>&lt;p&gt;Cool - think I've cracked it. The solution was to remove the original suffix and links tables, and replace them with a single suffixes table that just maps char(4) suffixes to literals.&lt;br&gt;This reduces the accuracy of the suffix match (meaning that substring searches &amp;gt; 4 chars need to join and filter with the nodes table (containing the literals). The width of the suffix field could be increased if this becomes a bottleneck, trading off more space for speed.&lt;/p&gt;&lt;p&gt;Have got the query down to 30ms on my laptop (down from 82.61 seconds on the original scheme). Other queries are looking good as well (mostly in the 10-30ms mark). Should fly on the 10GB 8 proc box at work :-)&lt;/p&gt;&lt;p&gt;The reason this is so much faster is that the mysql query optimiser gets a better view of the number of literals each substring will match, and so correctly identifies the best match order. Also, by indexing the new suffix table both ways (suffix-literal and literal-suffix), the query analyser can chose to impose other constraints in between substring filtering &lt;br&gt;(e.g. reducing the literal matches to those that are rdfs:labels).&lt;/p&gt;&lt;p&gt;Now I just need to update the veudastore code to use the new scheme...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Phil Dawes</dc:creator><pubDate>Sat, 01 Jan 2005 07:37:18 -0000</pubDate></item></channel></rss>