Micro-optimization of prev. commit, change
(_c < 0 || _c >= 128) to (_c & ~0x7F)
This commit is contained in:
parent
4777d3f98a
commit
5dfb7ce5fc
@ -126,7 +126,7 @@ __sbistype(__ct_rune_t _c, unsigned long _f)
|
||||
static __inline int
|
||||
__isctype(__ct_rune_t _c, unsigned long _f)
|
||||
{
|
||||
return (_c < 0 || _c >= 128) ? 0 :
|
||||
return (_c & ~0x7F) ? 0 :
|
||||
!!(_DefaultRuneLocale.__runetype[_c] & _f);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user