Re: Pre-alloc ListCell's optimization
Greg Stark <gsstark@mit.edu>
From: Greg Stark <gsstark@mit.edu>
To: Stephen Frost <sfrost@snowman.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Alvaro Herrera <alvherre@commandprompt.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-05-27T03:36:53Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Replace the parser's namespace tree (which formerly had the same
- a4996a895399 8.1.0 cited
-
Turns out that my recent elimination of the 'redundant' flatten_andors()
- 56c88772911b 8.1.0 cited
On Thu, May 26, 2011 at 11:57 AM, Stephen Frost <sfrost@snowman.net> wrote: > Handling the 1-entry case would likely be pretty > straight-forward, but you need book-keeping as soon as you go to two, > and all that book-keeping feels like overkill for just a 2-entry cache > to me. Incidentally what if I call nconc and pass a second arg of a list that has the first few elements stashed in an array. Do you copy those elements into cells before doing the nconc? Does our nconc support having lists share cells? I suspect it doesn't actually so perhaps that's good enough. -- greg