lua-users home
lua-l archive

Reading large files

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


Hallo,
 I've seen this in the monotone mailing list:
"The current method for determining if a file is binary involves reading in the entire file into memory in lua, and then calling a C++ function to determine if that string is binary. Lua is stunningly inefficient at reding in a large file (reading in 100MiB copies 1.4GiB)."
 Is this true? I'm skeptical of this.
-alex
http://www.ventonegro.org/

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