From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Filipe Silva Newsgroups: gmane.emacs.devel Subject: Re: Native line numbers, final testing Date: Fri, 7 Jul 2017 09:56:05 -0300 Message-ID: References: <83y3s9pm2a.fsf@gnu.org> <87vandz7lw.fsf@lylat> <83wp7tpcav.fsf@gnu.org> <87r2y1z45o.fsf@lylat> <83vandp7wz.fsf@gnu.org> <87mv8pyy7f.fsf@lylat> <83shigpoxq.fsf@gnu.org> <87mv8nkh31.fsf@lylat> <83bmp3pnmb.fsf@gnu.org> <87eftzju5g.fsf@lylat> <837ezqq3gd.fsf@gnu.org> <874luuyuqy.fsf@lylat> <83wp7po86m.fsf@gnu.org> <87fuecc7vg.fsf@lylat> <83y3s2n5pa.fsf@gnu.org> <878tk1rmjx.fsf@lylat> <83a84gn4z9.fsf@gnu.org> <8360f4mvd4.fsf@gnu.org> <831spsmnw0.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11c17dc2c0fea80553b9c1a9" X-Trace: blaine.gmane.org 1499432662 19968 195.159.176.226 (7 Jul 2017 13:04:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Jul 2017 13:04:22 +0000 (UTC) Cc: agrambot@gmail.com, Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 07 15:04:16 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTSvc-0004hs-Lw for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2017 15:04:12 +0200 Original-Received: from localhost ([::1]:56407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTSvh-0007uk-RB for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2017 09:04:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTSnr-0001tp-JO for emacs-devel@gnu.org; Fri, 07 Jul 2017 08:56:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTSnq-0005By-Qx for emacs-devel@gnu.org; Fri, 07 Jul 2017 08:56:11 -0400 Original-Received: from mail-oi0-x233.google.com ([2607:f8b0:4003:c06::233]:33735) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTSnp-0005B7-Fr; Fri, 07 Jul 2017 08:56:09 -0400 Original-Received: by mail-oi0-x233.google.com with SMTP id p188so26658143oia.0; Fri, 07 Jul 2017 05:56:09 -0700 (PDT) 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=+CQFChze50BtLLyOfRQNddv529C/8E1c3b5VsomYqIc=; b=XvZQ1MRIwHfLlW7T9l2HHj5143BVx1xzAzoSBT4OtKAa7aQDm4caPUjBRQVCWG/aJe K9f1086h/8iPzLiq1zEoS6ZaCTjyZgSmEv1+LoSvkSVHxLcHn9VzC2ec5oi6thwopKb8 iRrJA5bqJ+C3PkU8+Tq+iFDKGhOjq3LFkn55TNDCOje3p9ZS0LU26dpVTwq2w+fr2nyT J3R+d0f7EnNrXlj3/9l6z2KRYFglYrvvJf/Kti/EffY1oyc7T8DYbqaaFvx5Lj/NX0Un g9672ZzM9PF/s3bAnsfPVT/lMNTju7KClZ9nZpJYGCoAwgFImr5GZZ/VRXZvN377Yugq Sehg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+CQFChze50BtLLyOfRQNddv529C/8E1c3b5VsomYqIc=; b=VSQcL+Jaz+UfeeaFTtyh/fKYQQeQ7kPdAlc/b+/svvqLzLdpPJYsREEKfoIBEtg0Fv 0nXKJxy0maUZ2Yb+sAouE0KMYPyLdz3/8Ng2XRac3/YrhgQVCWObK66ZFq0e044X4CA9 ZwtDrhJmnrfve8VsCYrteaUGpS180N0AWKyyZ+FJGOtUfYi82s0J8NUX5fcWMxibXBVk UIilT3E5y8TZjvUwtMP486N1sXPdF3Tk+hQQvnCxR7y3wXqWEzXBkuFcC4bqo7WF4AD1 iX80V+N8kxTIBInYoOkD58vqXBZALYB00BVEylWMPRaY0nU/j03lKpe0yrgKQiNgcZlj s2Sw== X-Gm-Message-State: AIVw111+azuzJVp2shONxXtj3SylNv1xeHx2gtXHQMtRWm/4XkPR3PMj n66HHV0NFVeu8PtjJWpmBi3hveH/Xw== X-Received: by 10.202.73.207 with SMTP id w198mr639112oia.27.1499432168257; Fri, 07 Jul 2017 05:56:08 -0700 (PDT) Original-Received: by 10.182.2.73 with HTTP; Fri, 7 Jul 2017 05:56:05 -0700 (PDT) Original-Received: by 10.182.2.73 with HTTP; Fri, 7 Jul 2017 05:56:05 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216269 Archived-At: --001a11c17dc2c0fea80553b9c1a9 Content-Type: text/plain; charset="UTF-8" That's very fast. Amazing work Eli. On Jul 7, 2017 9:30 AM, "Eli Zaretskii" wrote: > Date: Fri, 07 Jul 2017 12:47:35 +0300 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > I timed the current implementation at 0.2 msec, in an optimized build; Trying to repeat this for several large buffers, I get much faster performance: 0.04 micro-seconds per call. I guess something was wrong with my original timing. In any case, it's _fast_. --001a11c17dc2c0fea80553b9c1a9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That's very fast. Amazing work Eli.

On Jul 7, 2017 9:30 AM, "Eli Zaretskii" <eliz@gnu.org> wrote:
> Date: Fri, 07 Jul 2017 12:47:35 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
>
> I timed the current implementation at= 0.2 msec, in an optimized build;

Trying to repeat this for several large buffers, I get much faster performance: 0.04 micro-seconds per call.=C2=A0 I guess something was wrong=
with my original timing.

In any case, it's _fast_.


--001a11c17dc2c0fea80553b9c1a9--