nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] proposal to make word jumping work in nano tiny


From: Benno Schulenberg
Subject: Re: [Nano-devel] proposal to make word jumping work in nano tiny
Date: Mon, 12 Sep 2016 10:34:11 +0200

On Mon, Sep 12, 2016, at 10:00, Jordi Mallach wrote:
> El dj 08 de 09 de 2016 a les 21:10 +0200, en/na Benno Schulenberg va
> escriure:
> > The attached patch achieves this.  Strangely, before the patch,
> > a stripped tiny binary is 59220 bytes, and after the patch 59236.
> > All the extra functionality comes in just sixteen bytes.  Huh?

Those numbers were with gcc 4.4 and -Os.
With gcc 6.1 and -Os it is 67480 bytes before, and 71592 after.
With gcc 6.1 and -O2 it is 92060 bytes before, and 96172 after.

So the extra functionality costs basically four kilobytes.

> It sounds good to me, if the tradeoff is that small. How much would
> case-sensitive search add, ooi?

That change already includes case-sensitive search, backward search,
and re-search.  Besides word-jumping and block-jumping.

Benno

-- 
http://www.fastmail.com - Email service worth paying for. Try it for free




reply via email to

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