[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Introducing LuaZDF - Lua Zero Dependency Functions
- From: Daurnimator <quae@...>
- Date: Tue, 13 Feb 2018 13:56:16 -0800
On 13 February 2018 at 13:10, Alexander Schulz <firstname.lastname@example.org> wrote:
> For the development of my little Lua library basexx<<1>> I needed a simple
> utility function that splits a string into an array table with substrings that
> have the same length.
Please don't do this! Don't split into a table to just iterate over
the table: use iterators and do it as a stream.
basexx leaves much performance on the table due to some decisions like
this, I've been meaning to send a PR, but haven't had time :(