Log Message:
-----------
Tweak accumArrayResult() to double the size of its working arrays when
more space is needed, instead of incrementing by a fixed amount; the old
method wastes lots of space and time when the ultimate size is large.
Per gripe from Tatsuo.
Modified Files:
--------------
pgsql/src/include/utils:
array.h (r1.59 -> r1.60)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/array.h.diff?r1=1.59&r2=1.60)
pgsql/src/backend/utils/adt:
arrayfuncs.c (r1.134 -> r1.135)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/arrayfuncs.c.diff?r1=1.134&r2=1.135)
pgsql-committers by date
| Next: | From: Tom Lane | Date: 2006-11-08 19:27:24 |
| Subject: pgsql: Modify aset.c to track the next intended block allocation size |
| Previous: | From: Tom Lane | Date: 2006-11-08 19:22:25 |
| Subject: pgsql: Fix performance issues in replace_text(), replace_text_regexp(), |