PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ gserialized_gist_picksplit_badratio()

static int gserialized_gist_picksplit_badratio ( int  x,
int  y 
)
static

Definition at line 1392 of file gserialized_gist_nd.c.

1393{
1394 POSTGIS_DEBUGF(4, "[GIST] checking split ratio (%d, %d)", x, y);
1395 if ((y == 0) || (((float)x / (float)y) < LIMIT_RATIO) || (x == 0) || (((float)y / (float)x) < LIMIT_RATIO))
1396 return true;
1397
1398 return false;
1399}
#define LIMIT_RATIO

References LIMIT_RATIO.

Referenced by gserialized_gist_picksplit_badratios().

Here is the caller graph for this function: