]> granicus.if.org Git - postgresql/commit
Generic implementation of red-black binary tree. It's planned to use in
authorTeodor Sigaev <teodor@sigaev.ru>
Thu, 11 Feb 2010 14:29:50 +0000 (14:29 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Thu, 11 Feb 2010 14:29:50 +0000 (14:29 +0000)
commit5209c084a646018bf429e4a1800e76e7b8b548a7
treec065623638186055ecac27ec34bf61842b9f66bd
parent161d9d51b321f021d4231001ccc32988edfccda0
Generic implementation of red-black binary tree. It's planned to use in
several places, but for now only GIN uses it during index creation.
Using self-balanced tree greatly speeds up index creation in corner cases
with preordered data.
src/backend/access/gin/ginbulk.c
src/backend/access/gin/ginfast.c
src/backend/access/gin/gininsert.c
src/backend/utils/misc/Makefile
src/backend/utils/misc/rbtree.c [new file with mode: 0644]
src/include/access/gin.h
src/include/utils/rbtree.h [new file with mode: 0644]