unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: nicolas@petton.fr, tsdh@gnu.org, nandryshak@gmail.com,
	emacs-devel@gnu.org
Subject: Re: string> missing?
Date: Thu, 04 Jun 2015 18:07:35 +0300	[thread overview]
Message-ID: <837frjqzpk.fsf@gnu.org> (raw)
In-Reply-To: <E1Z0G9U-00065A-1b@fencepost.gnu.org>

> Date: Wed, 03 Jun 2015 17:24:44 -0400
> From: Richard Stallman <rms@gnu.org>
> CC: eliz@gnu.org, nicolas@petton.fr, emacs-devel@gnu.org, tsdh@gnu.org
> 
> I decided to define string< and not string> back when keeping Emacs
> small was a major design goal.  Even one additional function was worth
> avoiding.  I considered > so basic that it was worth adding, but
> string> we could live without.
> 
> That goal no longer exists.  I see no harm in adding string> for
> symmetry, now.

You say that this goal no longer exists, but the practice of Emacs
maintenance tells me otherwise.  We are still making optimization
changes, some of them quite deep and pervasive ones, for very little
benefits, like a few percents decrease in memory footprint or in CPU
usage, even under the most favorable conditions.  In some cases, we
are prepared to pay dearly for such changes in obfuscating the code
with tricky multi-tiered macros, and in complicating the code and
making it harder to understand and maintain.

So it looks like making Emacs as small and as fast as humanly possible
is still very much a goal we want to pursue and are ready to pay for,
and therefore addition of convenience functions should be considered
with care, on a case by case basis.  If it's no longer a goal, we
should state that loud and clear, and start rejecting optimization-
related changes that fail to produce tangible gains, say, at least 10%
or 15%.



  reply	other threads:[~2015-06-04 15:07 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-03  9:05 string> missing? Nicolas Petton
2015-06-03 14:51 ` Eli Zaretskii
2015-06-03 15:03   ` Nicolas Petton
2015-06-03 15:26     ` Tassilo Horn
2015-06-03 15:46       ` Nick Andryshak
2015-06-03 15:55         ` Eli Zaretskii
2015-06-03 16:10           ` Nick Andryshak
2015-06-03 16:42             ` Eli Zaretskii
2015-06-03 16:50               ` Nick Andryshak
2015-06-03 18:10                 ` Andreas Schwab
2015-06-03 19:13                 ` Alan Mackenzie
2015-06-03 19:13                 ` Eli Zaretskii
2015-06-03 19:34                   ` Nick Andryshak
2015-06-03 19:53                     ` Eli Zaretskii
2015-06-03 20:11                       ` Nick Andryshak
2015-06-03 20:37                         ` Jay Belanger
2015-06-03 20:53                           ` Nick Andryshak
2015-06-03 21:35                             ` Jay Belanger
2015-06-03 21:36                     ` Thibaut Verron
2015-06-03 22:25                       ` Stefan Monnier
2015-06-04  5:30                         ` Thibaut Verron
2015-06-04  7:44                           ` Nicolas Richard
2015-06-04  8:08                             ` Thibaut Verron
2015-06-04 15:33                           ` Stefan Monnier
2015-06-03 22:28                     ` Stefan Monnier
2015-06-04  2:50                       ` Eli Zaretskii
2015-06-04  6:43                         ` Tassilo Horn
2015-06-04  7:02                           ` Bozhidar Batsov
2015-06-04  7:53                           ` Gnus & Mail-Followup-To (was: string> missing?) Nicolas Richard
2015-06-04  9:04                             ` Gnus & Mail-Followup-To Tassilo Horn
2015-06-04 12:50                               ` Nicolas Richard
2015-06-05 17:07                                 ` Tassilo Horn
2015-06-06  8:48                                   ` Nicolas Richard
2015-06-04  4:20                       ` string> missing? Thierry Volpiatto
2015-06-04 15:52                       ` Nicolas Petton
2015-06-03 21:24                 ` Richard Stallman
2015-06-04 15:07                   ` Eli Zaretskii [this message]
2015-06-05 17:56                     ` Richard Stallman
2015-06-05 19:04                       ` Eli Zaretskii
2015-06-05 20:40                         ` Tassilo Horn
2015-06-05 21:35                           ` Ivan Shmakov
2015-06-05 21:53                             ` Tassilo Horn
2015-06-05 22:04                               ` Tassilo Horn
2015-06-06  6:40                           ` Eli Zaretskii
2015-06-06  8:53                             ` Tassilo Horn
2015-06-07  0:28                             ` Richard Stallman
2015-06-06  1:52                         ` Richard Stallman
2015-06-06  7:57                           ` Eli Zaretskii
2015-06-07  0:28                             ` Richard Stallman

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=837frjqzpk.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=nandryshak@gmail.com \
    --cc=nicolas@petton.fr \
    --cc=rms@gnu.org \
    --cc=tsdh@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).