git.postgresql.org Git - postgresql.git/commit
2012年10月16日 20:36:30 +0000 (17:36 -0300)
2012年10月17日 14:31:20 +0000 (11:31 -0300)
commit a66ee69add6e129c7674a59f8c3ba010ed4c9386
Embedded list interface
Provide a common implementation of embedded singly-linked and
doubly-linked lists. "Embedded" in the sense that the nodes'
next/previous pointers exist within some larger struct; this design
choice reduces memory allocation overhead.
Most of the implementation uses inlineable functions (where supported),
for performance.
Some existing uses of both types of lists have been converted to the new
code, for demonstration purposes. Other uses can (and probably will) be
converted in the future. Since dllist.c is unused after this conversion,
it has been removed.
Author: Andres Freund
Some tweaks by me
Reviewed by Tom Lane, Peter Geoghegan
This is the main PostgreSQL git repository.
RSS
Atom