unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: James Thomas <jimjoe@gmx.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] Improve Malayalam language transliteration
Date: Thu, 16 Jul 2020 10:50:39 +0530	[thread overview]
Message-ID: <878sfkf32w.fsf@Kittu.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87v9io9ll1.fsf@Kittu.i-did-not-set--mail-host-address--so-tickle-me>

James Thomas <jimjoe@gmx.net> writes:

> I have done it now by running this 5 times in succession:
> ./emacs -Q --batch --eval '(progn (set-input-method "malayalam-mozhi") (message "%s %s" (benchmark-run 1000 (self-insert-command ?U) (self-insert-command ?L)) (memory-use-counts)))'

Sorry I made a mistake with the self-insert-command. I tried it again
with this:

./emacs -Q --batch --eval '(progn (set-input-method "malayalam-mozhi") (message "%s %s" (benchmark-run 1000 (self-insert-command 1 ?U) (self-insert-command 1 ?L)) (memory-use-counts)))'

Before
(0.028942057 1 0.018573165000000003)
(0.028422779 1 0.018723127000000006)
(0.027688517 1 0.01788452900000001)
(0.027688517 1 0.01788452900000001)
(0.028487356000000002 1 0.01823290999999999)

After
(0.027500888 1 0.017777874)
(0.027439256999999998 1 0.017800450999999995)
(0.027768902999999998 1 0.017677656000000014)
(0.027987988 1 0.018469169000000007)
(0.028140825 1 0.018314785)

> Seems to be either no improvement or a slight degradation in timings...

So for runtime it seems either better or unchanged.



  reply	other threads:[~2020-07-16  5:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-26 13:49 [PATCH] Improve Malayalam language transliteration James Thomas
2020-04-26 15:43 ` Eli Zaretskii
     [not found]   ` <87tv161aml.fsf@gmx.net>
2020-04-26 17:12     ` Eli Zaretskii
2020-04-26 22:11       ` James Thomas
2020-04-27  1:33       ` James Thomas
2020-04-27  2:42       ` James Thomas
2020-05-28 17:33         ` Eli Zaretskii
2020-05-29 14:57           ` James Thomas
2020-06-01  8:49           ` James Thomas
2020-06-01 15:02             ` Eli Zaretskii
2020-06-02  2:27               ` James Thomas
2020-07-15 12:11           ` James Thomas
2020-07-15 14:29             ` Eli Zaretskii
2020-07-16  3:37               ` James Thomas
2020-07-16  5:20                 ` James Thomas [this message]
2020-07-16  5:44                   ` James Thomas
2020-07-16 15:07                     ` Eli Zaretskii

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=878sfkf32w.fsf@Kittu.i-did-not-set--mail-host-address--so-tickle-me \
    --to=jimjoe@gmx.net \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).