I think we can take that cost for the sake of more elegant code. There are a few memset(..., 0, ...) on static variables in resolv_process that can be eliminated instead.