Re: [Dev-luatex] Memory leak in string.explode()?

2012-11-04 Thread minux
On Mon, Nov 5, 2012 at 9:32 AM, Reinhard Kotucha wrote: > - > #! /usr/bin/env texlua > --*- Lua -*- > > s='abc def'; t=s.explode(' +') > s=' abc def'; t=s:explode(' +') > s='abc def '; t=s:explode(' +') > - > > Each of the tree lines

Re: [Dev-luatex] Memory leak in string.explode()?

2012-11-04 Thread Reinhard Kotucha
On 2012-11-04 at 23:42:04 +0100, Reinhard Kotucha wrote: > On 2012-11-04 at 17:08:34 +0100, Taco Hoekwater wrote: > > > On 11/04/2012 03:00 AM, Reinhard Kotucha wrote: > > > > > > When I use the lpeg based function split(), everything is fine, though > > > it's slower than string.explod

Re: [Dev-luatex] Memory leak in string.explode()?

2012-11-04 Thread Reinhard Kotucha
On 2012-11-04 at 17:08:34 +0100, Taco Hoekwater wrote: > On 11/04/2012 03:00 AM, Reinhard Kotucha wrote: > > > > When I use the lpeg based function split(), everything is fine, though > > it's slower than string.explode(). But when I use string.explode(), I > > see in xosview that memory con

[Dev-luatex] Cron /var/www/luatex.org/www/bin/luatex-svn

2012-11-04 Thread Cron Daemon
r4468 | taco | 2012-11-04 16:56:58 +0100 (Sun, 04 Nov 2012) | 2 lines Changed paths: M /trunk/source/texk/web2c/luatexdir/lua51/lstrlib.c fix a leak

Re: [Dev-luatex] Memory leak in string.explode()?

2012-11-04 Thread Taco Hoekwater
On 11/04/2012 03:00 AM, Reinhard Kotucha wrote: When I use the lpeg based function split(), everything is fine, though it's slower than string.explode(). But when I use string.explode(), I see in xosview that memory consumption is steadily growing while the program is running. Yup, it leaks.