Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Adaway just modifies your /etc/hosts file to redirect ad domains to localhost. That definitely doesn't seem 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: