[prev in list] [next in list] [prev in thread] [next in thread]
List: nano-devel
Subject: Re: [Nano-devel] the compiled size of nano
From: Mike Frysinger <vapier () gentoo ! org>
Date: 2016-03-09 15:21:35
Message-ID: 20160309152135.GW6588 () vapier ! lan
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On 09 Mar 2016 11:29, Benno Schulenberg wrote:
> On Mon, Feb 8, 2016, at 21:52, Benno Schulenberg wrote:
> > On my old system, the version that uses gnulib definitely
> > feels slower at startup. I will instrument some timing.
>
> It was pure imagination -- it makes no difference. If there
> is any difference, it's in the one to two percent range. The
> user can achieve much bigger wins by not including all of the
> syntaxes but only the ones that are actually used sometimes.
> And by compiling with --disable-libmagic.
>
> Hmm... Maybe we need a run-time option too, --nomagic,
> 'set nomagic'? To be able to avoid a terribly slow startup
> when a file doesn't match any syntax by extension nor by
> header line?
sounds fine to me. i've found when building w/asan, the startup
can be significantly different, and i wonder if magic is the cause.
-mike
["signature.asc" (application/pgp-signature)]
_______________________________________________
Nano-devel mailing list
Nano-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/nano-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic