Re: [HACKERS] Decimal64 and Decimal128
От | Robert Haas |
---|---|
Тема | Re: [HACKERS] Decimal64 and Decimal128 |
Дата | |
Msg-id | CA+TgmoaU028vpuO+NJgjz_yEs66YkVqY1kzQ9NcHfgwfa5b_mw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [HACKERS] Decimal64 and Decimal128 (Peter Geoghegan <pg@bowt.ie>) |
Ответы |
Re: [HACKERS] Decimal64 and Decimal128
|
Список | pgsql-hackers |
On Mon, Jun 19, 2017 at 1:10 PM, Peter Geoghegan <pg@bowt.ie> wrote: > On Mon, Jun 19, 2017 at 10:00 AM, Robert Haas <robertmhaas@gmail.com> wrote: >> I've never been very happy with the performance of numeric, so I guess >> I'm a bit more optimistic about the chances of doing better. Aside >> from any computational optimizations, the fact that the datatype could >> be pass-by-value rather than a varlena might speed things up quite a >> bit in some cases. > > What cases do you have in mind? I don't have a specific use case in mind. However, datumCopy() is sure to be a lot faster when typByVal is true, and see also the documentation changes in commit 8472bf7a73487b0535c95e299773b882f7523463. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: