lua-users home
lua-l archive

Re: Re[2]: table.join -> string.split?

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


> My question should have read more like "if a join is there,
> then why isn't a split?".
Because it is quite easy to write a join in C, and it is much more
efficient than its equivalent in Lua. A split in C is more difficult
(among other things because of its endless variations), and would offer
no significant performance gain over its equivalent in Lua.
-- Roberto

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