Fixed performance of clean_safe() and decode().
Merge pull request #2 from ge0rdi/performance

Performance fixes