Re: A performance issue with Memoize
От
Tom Lane
Тема
Re: A performance issue with Memoize
Дата
Msg-id
1113188.1706303340@sss.pgh.pa.us
Ответ на
Re: A performance issue with Memoize (David Rowley)
Список
Дерево обсуждения
A performance issue with Memoize Richard Guo <guofenglinux@gmail.com>
Re: A performance issue with Memoize Andrei Lepikhov <a.lepikhov@postgrespro.ru>
Re: A performance issue with Memoize Richard Guo <guofenglinux@gmail.com>
Re: A performance issue with Memoize Andrei Lepikhov <a.lepikhov@postgrespro.ru>
Re: A performance issue with Memoize Richard Guo <guofenglinux@gmail.com>
Re: A performance issue with Memoize Arne Roland <arne.roland@malkut.net>
Re: A performance issue with Memoize David Rowley <dgrowleyml@gmail.com>
Re: A performance issue with Memoize Tom Lane <tgl@sss.pgh.pa.us>
Re: A performance issue with Memoize Richard Guo <guofenglinux@gmail.com>
Re: A performance issue with Memoize Tom Lane <tgl@sss.pgh.pa.us>
Re: A performance issue with Memoize David Rowley <dgrowleyml@gmail.com>
Re: A performance issue with Memoize Tom Lane <tgl@sss.pgh.pa.us>
Re: A performance issue with Memoize David Rowley <dgrowleyml@gmail.com>
Re: A performance issue with Memoize Tom Lane <tgl@sss.pgh.pa.us>
Re: A performance issue with Memoize Alexander Lakhin <exclusion@gmail.com>
Re: A performance issue with Memoize Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Re: A performance issue with Memoize Richard Guo <guofenglinux@gmail.com>
Re: A performance issue with Memoize Tom Lane <tgl@sss.pgh.pa.us>
Re: A performance issue with Memoize David Rowley <dgrowleyml@gmail.com>
Re: A performance issue with Memoize Richard Guo <guofenglinux@gmail.com>
Re: A performance issue with Memoize David Rowley <dgrowleyml@gmail.com>
Re: A performance issue with Memoize Richard Guo <guofenglinux@gmail.com>
Re: A performance issue with Memoize Pavel Stehule <pavel.stehule@gmail.com>
Re: A performance issue with Memoize Richard Guo <guofenglinux@gmail.com>
Re: A performance issue with Memoize Richard Guo <guofenglinux@gmail.com>
David Rowley writes: > On Sat, 27 Jan 2024 at 09:41, Tom Lane wrote: >> drongo and fairywren are consistently failing the test case added >> by this commit. I'm not quite sure why the behavior of Memoize >> would be platform-specific when we're dealing with integers, >> but ... > Maybe snprintf(buf, "%.*f", 0, 5.0 / 2.0); results in "3" on those > rather than "2"? > Looking at the code in fmtfloat(), we fallback on the built-in snprintf. Maybe ... I don't have a better theory. > I can try changing the unique1 < 5 to unique1 < 4 to see that's more stable. Worth a try. regards, tom lane
В списке pgsql-hackers по дате отправления