Re: File I/O

  • From: demetri <demetri.spanos@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 28 Mar 2015 01:27:21 -0700

> I compared fwrite/fread and io.* [...] it did not really make a difference.
>

This has not been my experience, but I mostly work with 2.0.3 so if
something has changed in 2.1 in this regard then I may be out-of-date.

Having said that: if io.* is already at parity with fwrite/fread and ffi
buffers (*not* with constant conversions back-and-forth with Lua strings)
then why try to replace io.*?

Demetri

Other related posts: