Currently the snippet is compiled every time the component is executed. It would be better if the result is cached.