Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: properly unset the zle registers hash
- X-seq: zsh-workers 42606
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- Subject: Re: PATCH: properly unset the zle registers hash
- Date: Sat, 7 Apr 2018 13:36:43 +0200
- Cc: Zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=97C1lyljpnE79tzZpTAbdnI3XyljcqpNgWDNc2UszFY=; b=YJbpVZGmMyGD8TNHq06jkhmL31KDLk3i6MT7UT4doCSS/S4MN/1qUozdro1UrcBanl vnWX9BamCEAWuQB2u1nJN7JwFpNsukf0Xx7iSuKz+gSI9rWFVYHeTXs+SuYXKxsBddVc VpiUqQ5vi7SssRuzPP3cDG63QTc14FvG2b2UgXfiKrZok3l4qBPvH32kYlLcy1yTqiKj zsv6lig0GvO2DJt/a/qz9+MBmLKgxpzRd6uoaQmYzMUC3zdacxUifJclNcVMzT1eGePy V4ayl1CElqtLasEajo9QcRA18+9Hm0Yvy97XiT6V1xHQKyq9VOSUx7M1r/278uFt9yEK jUuA==
- In-reply-to: <32761.1523065994@thecus>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <32761.1523065994@thecus>
On 7 April 2018 at 03:53, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
> Though, mapfile triggers the address sanitizer for an invalid
> free before I can verify this path with it.
>
mapfile has significant room for quality and feature improvements, but the
fact that metafication and unicode are in the way is discouraging. I mean,
to find character N=1000, one has to traverse buffer with mbtowc, counting
unicode characters. So one feature could be allowing to index by bytes,
with use case like: get last 1000 bytes from large log file, then process
as unicode string, extracting last 10 lines. Metafication is in the way,
getarg/getindex cannot be customized like getter and setter, so
byte-indexing is problematic.
--
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author