Re: [HACKERS] pgsql: Optimize pglz compressor for small inputs.

2013-07-17 Thread Heikki Linnakangas
On 14.07.2013 20:12, Stephen Frost wrote: * Heikki Linnakangas (heikki.linnakan...@iki.fi) wrote: This patch alleviates that in two ways. First, instead of storing pointers in the hash table, store 16-bit indexes into the hist_entries array. That slashes the size of the hash table to 1/2 or 1/4

Re: [HACKERS] pgsql: Optimize pglz compressor for small inputs.

2013-07-14 Thread Stephen Frost
Heikki, * Heikki Linnakangas (heikki.linnakan...@iki.fi) wrote: This patch alleviates that in two ways. First, instead of storing pointers in the hash table, store 16-bit indexes into the hist_entries array. That slashes the size of the hash table to 1/2 or 1/4 of the original, depending on