PostGIS 3.7.0dev-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 1395 of file gserialized_gist_nd.c.

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

References LIMIT_RATIO.

Referenced by gserialized_gist_picksplit_badratios().

Here is the caller graph for this function: