It depends on what you want printed to chat.
This is the d() function:
Lua Code:
function d(...)
for i = 1, select("#", ...) do
local value = select(i, ...)
if(type(value) == "table")
then
EmitTable(value)
else
EmitMessage(tostring (value))
end
end
end
If all you want to print is simple text, then just use CHAT_SYSTEM:AddMessage("text").
Granted, you shouldn't be looking for 1 nanosecond optimizations.
Good coding practices aside, only worry about optimizing when doing heavy calculations or frequent updates.