| From: | knt(at)pgfoundry(dot)org (User Knt) |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | plscheme - plscheme: Now we have a caching mechanism for non-volatile |
| Date: | 2006-10-07 21:53:56 |
| Message-ID: | 20061007215356.482E786C700@pgfoundry.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Log Message:
-----------
Now we have a caching mechanism for non-volatile (and non-SRF) procedures lays
in the TopMemoryContext. (Supports caching of triggers too.) Upper limit for
numbers of procedures to be cached are fixed with CACHE_MAX_SIZE definition. (In
case of a cache_size == CACHE_MAX_SIZE, the least used node will be removed from
the cache.) For cache lookup speed ups, a small CRC32 implementation with
supportive (and buggy) hash_init(), hash_buffer(), hash_arg_t(), hash_proc_t()
and hash_append() is added to produce procedure signatures.
Modified Files:
--------------
plscheme:
plscheme.c (r1.16 -> r1.17)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/plscheme/plscheme/plscheme.c.diff?r1=1.16&r2=1.17)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2006-10-07 22:06:26 | pgsql: In release notes, always use </link> rather than </>. |
| Previous Message | Peter Eisentraut | 2006-10-07 21:51:02 | pgsql: Added missing entry (CASCADED) in keywords table. |