When use templates or not ? (compiling concept)

I have read at cplusplus :
"At that moment, when an instantiation is required, the compiler generates a function specifically for those arguments from the template."
So, I think that is not very good idea to use a template for a function I'm going so uses 100.000 times ?
Any advice ? Thanks
The compiler generates a function per set of template parameters, not per call or something.
Topic archived. No new replies allowed.