all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Simen Heggestøyl" <simenheg@gmail.com>
Cc: 37393@debbugs.gnu.org, monnier@iro.umontreal.ca, sdl.web@gmail.com
Subject: bug#37393: 26.2.90; [PATCH] Speed up 'csv-align-fields'
Date: Sun, 15 Sep 2019 19:17:49 +0300	[thread overview]
Message-ID: <83blvly1n6.fsf@gnu.org> (raw)
In-Reply-To: <5d7e5f00.1c69fb81.43f55.3fa2@mx.google.com> (message from Simen Heggestøyl on Sun, 15 Sep 2019 17:55:44 +0200)

> From: Simen Heggestøyl <simenheg@gmail.com>
> Date: Sun, 15 Sep 2019 17:55:44 +0200
> Cc: 37393@debbugs.gnu.org, sdl.web@gmail.com
> 
> > If you're interested in this line, I think there are two avenues to
> > improve the behavior further:
> > - align lazily via jit-lock (this way the time is determined by the
> >   amount of text displayed rather than the total file size).
> 
> Wouldn't that still depend on knowing the column widths? I find that the
> column width computation is taking about 80% of the time when calling
> 'csv-align-fields' (after the patch).

I'm talking here about something I don't understand well enough, but
did you try computing column width using vertical-motion?





  reply	other threads:[~2019-09-15 16:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-12 17:07 bug#37393: 26.2.90; [PATCH] Speed up 'csv-align-fields' Simen Heggestøyl
2019-09-12 17:46 ` Stefan Monnier
2019-09-15 15:55   ` Simen Heggestøyl
2019-09-15 16:17     ` Eli Zaretskii [this message]
2019-09-15 18:43     ` Stefan Monnier
2019-09-17 16:53       ` Simen Heggestøyl
2019-09-17 17:23         ` Eli Zaretskii
2019-09-17 19:14           ` Stefan Monnier
2019-09-18  2:34             ` Eli Zaretskii
2019-09-18 19:59               ` Simen Heggestøyl
2019-09-18 20:08                 ` Stefan Monnier
2019-09-19 15:51                   ` Simen Heggestøyl
2019-09-19 17:30                     ` Eli Zaretskii
2019-10-09 16:33                       ` Simen Heggestøyl
2019-09-17 19:12         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83blvly1n6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=37393@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=sdl.web@gmail.com \
    --cc=simenheg@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.