Re: [PATCH] Add pg_lfind8_nonzero()

Поиск
Список
Период
Сортировка
От cca5507
Тема Re: [PATCH] Add pg_lfind8_nonzero()
Дата
Msg-id tencent_33BE9451990CBCED8313BB8150EEC290DA07@qq.com
обсуждение исходный текст
Ответ на Re: [PATCH] Add pg_lfind8_nonzero()  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi,

Thank you for your reply!

> Is code like this ever actually relevant for performance? In cases where the
> compiler can't also optimize the code? Unless it is a legitimate bottleneck,
> adding more complicated code to optimize the case doesn't make sense.

I just think the patch isn't that complicated.

> The benchmark really should show performance benefits in at least somewhat
> realistic cases (i.e. real users of the functions, even if the workload is a
> bit more extreme than it'd be most of the time).

Yeah, this makes sense to me. Maybe I need to think more on it.

--
Regards,
ChangAo Chen

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