[subset] limit priority bumps to 16.
This commit is contained in:
parent
0104409959
commit
cf79fc342d
|
@ -83,7 +83,7 @@ struct graph_t
|
||||||
{
|
{
|
||||||
if (!priority) return 0;
|
if (!priority) return 0;
|
||||||
int64_t table_size = obj.tail - obj.head;
|
int64_t table_size = obj.tail - obj.head;
|
||||||
return -(table_size - table_size / (1 << priority));
|
return -(table_size - table_size / (1 << hb_min(priority, 16u)));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue