[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    Re: [HACKERS] lexeme ordering in tsvector
From:       Tom Lane <tgl () sss ! pgh ! pa ! us>
Date:       2009-11-30 18:29:34
Message-ID: 7632.1259605774 () sss ! pgh ! pa ! us
[Download RAW message or body]

Sushant Sinha <sushant354@gmail.com> writes:
> Was this change in ordering deliberate?

Yes.

> Wouldn't length comparison be cheaper than memcmp?

It's not just about "cheapest" anymore, it also has to support prefix
operations.

			regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic