performance optimization：'snippet for' head