Reduce allocation on TLS operations