[subset] limit priority bumps to 16.

This commit is contained in:
Garret Rieger 2021-02-16 13:24:43 -08:00
parent 0104409959
commit cf79fc342d
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ struct graph_t
{
if (!priority) return 0;
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)));
}
};