From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: counting pallocs |
Date: | 2012-05-17 12:44:00 |
Message-ID: | 21833.1337258640@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> One piece of reasonably low-hanging fruit appears to be OpExpr. It
> seems like it would be better all around to put Node *arg1 and Node
> *arg2 in there instead of a list... aside from saving pallocs, it
> seems like it would generally simplify the code.
Obviously, Stephen Frost's list-allocation patch would affect your
results here ... but I wonder how much the above change would affect
*his* results. Specifically, the observation that most lists are 1
or 2 elements long would presumably become less true, but I wonder
by how much exactly.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Florian Pflug | 2012-05-17 13:08:26 | Re: read() returns ERANGE in Mac OS X |
Previous Message | Joshua Berkus | 2012-05-17 12:42:39 | Re: Strange issues with 9.2 pg_basebackup & replication |