i didn't noticed it was an optimization, sorry.
-compile({inline,[parse_host/1]}). is ok?  or do you prefer hand-inlined code?