[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Introducing LuaZDF - Lua Zero Dependency Functions
- From: Alexander Schulz <aiqpost@...>
- Date: Wed, 14 Feb 2018 08:07:06 +0100
The functions from basexx are also part of luazdf.
You can check this version like http://luazdf.aiq.dk/fn/tobase32.html .
It still uses a extra table.
You can send an PR or discuss it on https://www.reddit.com/r/LuaZDF/.
I hope the structure of luazdf motivates more to to create a PR.
Thanks.
> Am 13.02.2018 um 22:56 schrieb Daurnimator <quae@daurnimator.com>:
>
> On 13 February 2018 at 13:10, Alexander Schulz <aiqpost@yahoo.com> 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 :(
>