Re: lexeme ordering in tsvector - Mailing list pgsql-hackers

From Tom Lane
Subject Re: lexeme ordering in tsvector
Date
Msg-id 7632.1259605774@sss.pgh.pa.us
Whole thread Raw
In response to lexeme ordering in tsvector  (Sushant Sinha <sushant354@gmail.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Sushant Sinha
Date:
Subject: lexeme ordering in tsvector
Next
From: Marko Tiikkaja
Date:
Subject: Re: Writeable CTE patch