lua-users home
lua-l archive

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


Icon is primarily built for string construction and manipulation and its
choices are probably good ones for those tasks. On the other hand, because
of tables in Lua, string comparisons are very important and interning
strings is a very good way to make those fast.

Mark

on 5/9/03 1:21 AM, Taj Khattra at taj.khattra@pobox.com wrote:

> icon's string allocation strategy, described in
> 
>   http://www.cs.arizona.edu/icon/docs/ipd277.htm
> 
> seems to argue against string interning.  not sure how relevant that strategy
> is to lua though (different domains, different tradeoffs ???)
> 
> -taj
>