A function intergrated into mirc is always going to run faster than a dll that mirc has to make a call out to (And load if not already so) then process, then return.