Re: [PATCH v2] src/port/snprintf.c: Optimize the common base=10 case in fmtint

Поиск
Список
Период
Сортировка
От Chapman Flack
Тема Re: [PATCH v2] src/port/snprintf.c: Optimize the common base=10 case in fmtint
Дата
Msg-id 6179E5D5.5060102@anastigmatix.net
обсуждение исходный текст
Ответ на Re: [PATCH v2] src/port/snprintf.c: Optimize the common base=10 case in fmtint  (Arjan van de Ven <arjan@linux.intel.com>)
Ответы Re: [PATCH v2] src/port/snprintf.c: Optimize the common base=10 case in fmtint
Список pgsql-hackers
On 10/27/21 18:18, Arjan van de Ven wrote:
> +        /*
> +         * Special case each of the possible base values  (8, 10, 16) to
> avoid an
> +         * expensive divide operation
> +         * (the compiler will use a multiply, shift or boolean ops for this)
> +         */


Was 'boolean' the intended word there? To me it is distinct from 'bitwise'.

Regards,
-Chap



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Mark Dilger
Дата:
Сообщение: Re: CREATEROLE and role ownership hierarchies
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Isn't it better with "autovacuum worker...." instead of "worker took too long to start; canceled" specific to "auto