What is the most effecient way of enqueuing scripts based on the current plugins template?

What is the most effecient way of enqueuing scripts based on the current plugins template?