Re: GiST "choose subtree" support function to inline penalty

2019-06-27 Thread Komяpa
On Thu, Jun 27, 2019 at 6:00 AM Tom Lane wrote: > =?UTF-8?Q?Darafei_=22Kom=D1=8Fpa=22_Praliaskouski?= > writes: > > I'm looking at PostGIS geometry GiST index build times and try to > optimize > > withing the current GiST framework. The function that shows a lot on my > > flame graphs is penalty

Re: GiST "choose subtree" support function to inline penalty

2019-06-26 Thread Tom Lane
=?UTF-8?Q?Darafei_=22Kom=D1=8Fpa=22_Praliaskouski?= writes: > I'm looking at PostGIS geometry GiST index build times and try to optimize > withing the current GiST framework. The function that shows a lot on my > flame graphs is penalty. > I spent weekend rewriting PostGIS penalty to be as fast a

Re: GiST "choose subtree" support function to inline penalty

2019-06-25 Thread Alexander Korotkov
On Mon, Jun 24, 2019 at 2:31 PM Andrey Borodin wrote: > > 24 июня 2019 г., в 15:08, Darafei Komяpa Praliaskouski > написал(а): > > > > I'm looking at PostGIS geometry GiST index build times and try to > optimize withing the current GiST framework. The function that shows a lot > on my flame grap

Re: GiST "choose subtree" support function to inline penalty

2019-06-24 Thread Andrey Borodin
Hi! > 24 июня 2019 г., в 15:08, Darafei Komяpa Praliaskouski > написал(а): > > I'm looking at PostGIS geometry GiST index build times and try to optimize > withing the current GiST framework. The function that shows a lot on my flame > graphs is penalty. > > I spent weekend rewriting PostGI

GiST "choose subtree" support function to inline penalty

2019-06-24 Thread Komяpa
Hi, I'm looking at PostGIS geometry GiST index build times and try to optimize withing the current GiST framework. The function that shows a lot on my flame graphs is penalty. I spent weekend rewriting PostGIS penalty to be as fast as possible. (FYI https://github.com/postgis/postgis/pull/425/fil