lua-users home
lua-l archive

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


--- Eike Decker <eike@cube3d.de> wrote:

> You could also write a C userdata object that allows
> you to create a buffer that you can manipulate. 
Thanks. I thought about this before. However, it seems
that lua string is the natural object to interface
with other libraries(file, luasocket, curl, zlib , md5
etc.) so if I create my own data type, I need to
covert to/from string. And also the search, find etc.
that is available for string.

If hash is the only concern, I can live with that as
it would be a buffer that would not be used as key.




 
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091