bug-zile
[Top][All Lists]
Advanced

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

[Bug-zile] Further development of Lua Zile


From: Reuben Thomas
Subject: [Bug-zile] Further development of Lua Zile
Date: Wed, 5 Sep 2012 23:41:56 +0100

I've pushed the changes to get alien buffers working, and all the
tests pass. Some work still needs to be done before the full benefits
of native performance are reaped: in particular, the "sub" method of
AStr and EStr should really not be used (and removed). This affects
mainly the "find" method and the code which deals with line ending
recoding. The solution is straightforward in theory: act directly on
the buffer, as in C. Writing alien bindings for memmem and the GNU
regex routines ought to be easy; unfortunately, for searching
backwards one needs to use GNU regex or implement memrmem.

--
http://rrt.sc3d.org



reply via email to

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