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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 491c029) | patch
Add a fast pre-check for equality of equal-length strings.
2014年9月19日 16:39:00 +0000 (12:39 -0400)
2014年9月19日 16:39:00 +0000 (12:39 -0400)
commit e246b3d6eac09d0770e6f68e69f2368d02db88af
Add a fast pre-check for equality of equal-length strings.

Testing reveals that that doing a memcmp() before the strcoll() costs
practically nothing, at least on the systems we tested, and it speeds
up sorts containing many equal strings significatly.

Peter Geoghegan. Review by myself and Heikki Linnakangas. Comments
rewritten by me.
src/backend/utils/adt/varlena.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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