grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] File access library for lua


From: Bean
Subject: Re: [PATCH] File access library for lua
Date: Sat, 27 Jun 2009 12:14:43 +0800

On Sat, Jun 27, 2009 at 12:04 PM, Pavel Roskin<address@hidden> wrote:
> On Sat, 2009-06-27 at 11:53 +0800, Bean wrote:
>
>> Yes, actually it's just a bunch of file_exist AND or OR together, but
>> I think if we use this kind of test often enough, implement it in c
>> would be more efficient.
>
> So far, we only have one file.
>
> I checked the Lua reference manual, and no file related functions take
> lists of filenames:
>
> http://www.lua.org/manual/5.1/
>
> If it was ineffective, I think Lua developers would have designed the
> file access differently.

All right then, I'd change it back to single parameter. Actually it's
not a big deal, but I just hate long lines, :)

-- 
Bean




reply via email to

[Prev in Thread] Current Thread [Next in Thread]