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
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
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
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
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.