View Single Post
03-28-09, 10:08 AM   #238
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
Wouldn't it be better to just generate the functions and set them as the tag handler? That way you don't hit the problem with loadstring and scope. It would most likely be faster also, as you don't have to regenerate the tag function every time the tag runs. The Lua compiler is fast, but relying on that seems like a bad solution.