nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] chars: use a fixed piece of memory instead allo


From: Mike Frysinger
Subject: Re: [Nano-devel] [PATCH] chars: use a fixed piece of memory instead allocating+freeing all the time
Date: Sun, 18 Dec 2016 11:56:15 -0500

On 17 Dec 2016 12:33, Benno Schulenberg wrote:
> (As nano only supports UTF-8 and plain ASCII, we could just
> use 4 instead of mb_cur_max() -- much quicker.)

as a sanity check, you could add an assert at startup to make
sure it's never larger
-mike

Attachment: signature.asc
Description: Digital signature


reply via email to

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