git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: d2773f9) | patch
Remove replacement selection sort.
2017年9月29日 14:20:44 +0000 (10:20 -0400)
2017年9月29日 14:25:44 +0000 (10:25 -0400)
commit 8b304b8b72b0a60f1968d39f01cf817c8df863ec
Remove replacement selection sort.

At the time replacement_sort_tuples was introduced, there were still
cases where replacement selection sort noticeably outperformed using
quicksort even for the first run. However, those cases seem to have
evaporated as a result of further improvements made since that time
(and perhaps also advances in CPU technology). So remove replacement
selection and the controlling GUC entirely. This makes tuplesort.c
noticeably simpler and probably paves the way for further
optimizations someone might want to do later.

Peter Geoghegan, with review and testing by Tomas Vondra and me.

Discussion: https://postgr.es/m/CAH2-WzmmNjG_K0R9nqYwMq3zjyJJK+hCbiZYNGhAy-Zyjs64GQ@mail.gmail.com
doc/src/sgml/config.sgml diff | blob | blame | history
doc/src/sgml/release-9.6.sgml diff | blob | blame | history
src/backend/utils/init/globals.c diff | blob | blame | history
src/backend/utils/misc/guc.c diff | blob | blame | history
src/backend/utils/misc/postgresql.conf.sample diff | blob | blame | history
src/backend/utils/sort/tuplesort.c diff | blob | blame | history
src/include/miscadmin.h diff | blob | blame | history
src/test/regress/expected/cluster.out diff | blob | blame | history
src/test/regress/sql/cluster.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /