[simd] Add disabled code for preferring bsearch for shorter lists
This commit is contained in:
parent
41a7ec0697
commit
b7d01281d2
|
@ -373,6 +373,15 @@ struct hb_sorted_array_t :
|
|||
(unsigned) this->arrayZ[i].first,
|
||||
(unsigned) this->arrayZ[i].last);
|
||||
}
|
||||
#endif
|
||||
#if 0
|
||||
if (likely (this->length < 81))
|
||||
return hb_bsearch_impl (pos,
|
||||
x,
|
||||
this->arrayZ,
|
||||
this->length,
|
||||
sizeof (Type),
|
||||
_hb_cmp_method<hb_codepoint_t, Type>);
|
||||
#endif
|
||||
return hb_simd_ksearch_glyphid_range (pos,
|
||||
x,
|
||||
|
|
Loading…
Reference in New Issue