Fix performance problems in TOAST compressor. The management of

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6b516f59517450f9a3590338e995de22b22a9335
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-11-17T06:09:30Z
Releases: 7.2.1
Fix performance problems in TOAST compressor.  The management of
search lists was broken in such a way that only the most recent
instance of a given hash code would ever be searched, thus possibly
missing longer matches further back.  Fixing this gave 5 to 10%
compression improvement on some text test cases.  Additional small
tweaks to improve speed of inner loops a little bit.  There is no
compatibility issue created by this change, since the compressed data
format and decompression algorithm don't change.

Files

PathChange+/−
src/backend/utils/adt/pg_lzcompress.c modified +97 −70