I guess that I don't care much about performance tweaks during function creation as I assume that these will happen only a few times.  In these cases I think that code cleanliness is more important.