5 ms·
Parsing a huge /etc/hosts for every single hostname lookup certainly is expensive.
Parsing a huge /etc/hosts for every single hostname lookup certainly is expensive.
I'm not sure what the practical limits are on host file size, but I just checked my phone with up to date AdAway lists and it's sitting at 56429 lines (with about 10 or so of those being comments)
It seems unlikely that it's actually implemented that way.