[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch
From: |
Gary V. Vaughan |
Subject: |
Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now |
Date: |
Tue, 9 Aug 2011 13:43:39 +0700 |
Hi Reuben,
On 9 Aug 2011, at 04:28, Reuben Thomas wrote:
> On 8 August 2011 22:26, Gary V. Vaughan <address@hidden> wrote:
>>
>> And at the moment, it seems to have some performance issues when using the
>> puc-rio runtime. But all of that is just a simple matter of programming.
>
> Absolutely. That's because the Lua string heap works terribly badly
> for implementing buffers as a linked list of strings.
Good point. Do you think porting the buffer-gap algorithm from C Zile into
Lua will make much difference here (without the need to descend into loading
another C module into the Lua runtime)?
> I see the way around this to use the C implementation from current master.
That's a last resort, I hope? Easy though it is to extend Lua with C, I'd
really like to rule out algorithmic improvements before what I think might
turn out to be the premature optimisation of porting bits of lua back to C
again...
Cheers,
--
Gary V. Vaughan (gary AT gnu DOT org)
- Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now, Brian Maher, 2011/08/05
- Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now, Gary V. Vaughan, 2011/08/04
- Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now, Reuben Thomas, 2011/08/08
- Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now, Gary V. Vaughan, 2011/08/08
- Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now, Reuben Thomas, 2011/08/08
- Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now, Gary V. Vaughan, 2011/08/08
- Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now, Reuben Thomas, 2011/08/08
- Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now,
Gary V. Vaughan <=
- Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now, Brian Maher, 2011/08/09
- Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now, Reuben Thomas, 2011/08/09
Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now, Brian Maher, 2011/08/09
Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now, Gary V. Vaughan, 2011/08/09
Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now, Reuben Thomas, 2011/08/09
Re: [Bug-zile] Zile Lua: Gary, please feel free to look after the branch for now, Gary V. Vaughan, 2011/08/11
[Bug-zile] Building lrex-gnu.so on Mac OS [Was Re: Zile Lua: Gary, please feel free to look after the branch for now], Gary V. Vaughan, 2011/08/12