| От | Nathan Bossart |
|---|---|
| Тема | pgsql: Rename "fast" and "slow" popcount functions. |
| Дата | |
| Msg-id | E1viehj-001rU2-2X@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Rename "fast" and "slow" popcount functions. Since we now have several implementations of the popcount functions, let's give them more descriptive names. This commit replaces "slow" with "portable" and "fast" with "sse42". While the POPCNT instruction is technically not part of SSE4.2, this naming scheme is close enough in practice and is arguably easier to understand than using "popcnt" instead. Reviewed-by: John Naylor <johncnaylorls@gmail.com> Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi> Discussion: https://postgr.es/m/aWf_InS1VrbeXAfP%40nathan Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/8c6653516c5ad23628cc50d4cee1e6446e7f758d Modified Files -------------- src/include/port/pg_bitutils.h | 8 +++--- src/port/pg_bitutils.c | 38 ++++++++++++++-------------- src/port/pg_popcount_x86.c | 56 ++++++++++++++++++++++-------------------- 3 files changed, 53 insertions(+), 49 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера