unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stephen Molitor <stephen.molitor@icloud.com>
Cc: gerd.moellmann@gmail.com, 69773@debbugs.gnu.org
Subject: bug#69773: 29.2; Emacs Crashes on Startup Sometimes
Date: Fri, 15 Mar 2024 09:46:52 +0200	[thread overview]
Message-ID: <86zfv07x8z.fsf@gnu.org> (raw)
In-Reply-To: <92C730F1-6161-4B08-A5BC-4268EFCE67EF@icloud.com> (message from Stephen Molitor on Thu, 14 Mar 2024 17:10:37 -0500)

> From: Stephen Molitor <stephen.molitor@icloud.com>
> Date: Thu, 14 Mar 2024 17:10:37 -0500
> 
> Not that I’ve noticed.
> 
> I mean maybe it does, but I haven’t noticed. I have a fast machine. Is there an easy way to measure?

Yes, of course.  Here's one example:

  (defun scroll-up-benchmark ()
    (interactive)
    (let ((oldgc gcs-done)
	  (oldtime (float-time)))
      (condition-case nil (while t (scroll-up) (redisplay))
	(error (message "GCs: %d Elapsed time: %f seconds"
			(- gcs-done oldgc) (- (float-time) oldtime))))))

Run this on a large file (I use src/xdisp.c) with and without your
set-char-table-range customization, and compare the results.

Btw, why aren't digit characters 0-9 in the regexp you use in
sm-safe-table?  More generally, why not all of the ASCII characters
are there? isn't smart kerning performed for them as well?  Come to
think about that, what about Latin non-ASCII characters like á etc.?





  reply	other threads:[~2024-03-15  7:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-13 13:32 bug#69773: 29.2; Emacs Crashes on Startup Sometimes Stephen Molitor via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-13 15:03 ` Gerd Möllmann
2024-03-14 16:15   ` Stephen Molitor via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-14 16:52     ` Eli Zaretskii
2024-03-14 22:10       ` Stephen Molitor via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-15  7:46         ` Eli Zaretskii [this message]
2024-03-15 14:32           ` Stephen Molitor via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-14 17:42     ` Gerd Möllmann

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=86zfv07x8z.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=69773@debbugs.gnu.org \
    --cc=gerd.moellmann@gmail.com \
    --cc=stephen.molitor@icloud.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).