Sorting the Stop word lists

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Sorting the Stop word lists
Date: 2007-09-07 16:15:51
Message-ID: 1189181751.4175.527.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I notice we sort the stop word list after we read it into memory.

Wouldn't it be easier to

1. Sort the stopword lists in the main distribution

2. Require them to be sorted

3. Remove the sort from readstoplist()

We should at very least do (1) to improve the sort speed at start.

--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-09-07 16:18:37 Re: HEAD build troubles, buildfarm misconfigurations
Previous Message Robert Treat 2007-09-07 15:53:43 Re: HEAD build troubles, buildfarm misconfigurations