lua-users home
lua-l archive

Re: changes in 'require'

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I agree its simpler. However, now every successful require pays the
> price of trying all its ancestors, even if none were found. I don't
> know how bad that will be.
First rule of optimization: don't do it :) You are proposing something
that you recognize as more complex just to optimize something you have
no idea whether it needs optimization...
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /