From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help Subject: Re: Is Elisp really that slow? (was: Why is Elisp slow?) Date: Fri, 7 Jun 2019 17:26:10 -0700 Message-ID: References: <87woj8bqho.fsf@telefonica.net> <83tvecocvv.fsf@gnu.org> <87sgtwboot.fsf@telefonica.net> <83muk4obfd.fsf@gnu.org> <20190502214006.4fdsinp7u5xuqvdv@Ergus> <20190503004416.xfuzzucflp6bxpuz@Ergus> <8736lm30lz.fsf@web.de> <864l61j04d.fsf@zoho.eu> <20190511073254.GB29829@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="185932"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs@gnu.org To: tomas@tuxteam.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 08 02:26:55 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hZPCB-000mGd-1b for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Jun 2019 02:26:55 +0200 Original-Received: from localhost ([::1]:54574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZPC9-00067o-GS for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jun 2019 20:26:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54040) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZPBY-00067V-BA for help-gnu-emacs@gnu.org; Fri, 07 Jun 2019 20:26:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hZPBX-0006ll-5j for help-gnu-emacs@gnu.org; Fri, 07 Jun 2019 20:26:16 -0400 Original-Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:40990) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hZPBW-0006gF-Uo for help-gnu-emacs@gnu.org; Fri, 07 Jun 2019 20:26:15 -0400 Original-Received: by mail-lj1-x22f.google.com with SMTP id s21so3186885lji.8 for ; Fri, 07 Jun 2019 17:26:14 -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=3RdaDlTPIFPEWlWFLi8L0uGeX/5grVfsFd5Vwzjw01Q=; b=G1gbUwHYPipcUWpuE/MbEnDsM3fbVjlQFz9Ez623Kt8yoQXbGsHNU0tlH4Vc4yZ5RH uXUFtTQFVieCBoDQJz4eq50K3uEuG41Tl7GJ3lqVDe01sHuHPE65vj3Vg35jXcRAKYr2 13yvJ2FO1QMhDe1+cAsg+5KodEJD3BFBGRcpzVuJxMtdVx1JE1cxlWYSWZqEVl5jcZvW 2nLOckdB+rGcncNpcWd6yyRuKAHPmZhpMYPFyPUpIIqBzq03r4GXzgVU9iYCs4WOZrnu r/2Bud4b4SK7fEBF2FcUuk7gpZiCUePHgfVUCeQraKA6ZHjaoCZw4n3uG5XDclBsiZjk x4Qw== 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=3RdaDlTPIFPEWlWFLi8L0uGeX/5grVfsFd5Vwzjw01Q=; b=bDg4hZrPL/8c6t+54WE1ETKr6T6XeP2ADb4tZw2IEyM+nx0h5zog/jg5EKd8dTQUHR uSB2PKkKmnX6CVWOdt2gINtZd5HGAz31GJzPHYApLXaRnwQWo7WtAyWHNd5RUV5jrim1 Od+9PeY3LKq04/v9+mDfxhJ5wxji13TRJAJeM9AJst5H0werR/AqqXKb0n+SRuXdgOr/ spRJupPqWhN/rA+4WyrejyJaQI4Q3f0Ee+KwYXiVWFcsonGvC6oe3jMwdqmpepUCyNdr 0d1mQmEQ4WarCZltoRIGIzxHsLqSLhFiQi2ReMyQapTz/KYjATP+xQuz9Bx3dvarH/11 mFUQ== X-Gm-Message-State: APjAAAUXBmO7uEZKJeSalrY6gi8Ivd2bScEZdRBrKMbcrVkfAmuKxX4W VpZt+2XC2Md92KA/KBg4uwQ4PVzTe2NnQm9V66M= X-Google-Smtp-Source: APXvYqwIU5EEsXs40v7H3T6CX5of0DZGJk3ndm00WV/5JLKEGkNowbNReCsllPiuCdPZGlRTwkhPczqhDy30e2ijXik= X-Received: by 2002:a2e:9ed9:: with SMTP id h25mr19413816ljk.13.1559953572289; Fri, 07 Jun 2019 17:26:12 -0700 (PDT) Original-Received: by 2002:ac2:5a5c:0:0:0:0:0 with HTTP; Fri, 7 Jun 2019 17:26:10 -0700 (PDT) In-Reply-To: <20190511073254.GB29829@tuxteam.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::22f X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120824 Archived-At: On 5/11/19, tomas@tuxteam.de wrote: > On Sat, May 11, 2019 at 02:38:58AM +0200, Emanuel Berg wrote: >> If it is possible to have Elisp as fast as CL >> or even as fast as C (!), the only problem is >> no one has been motivated to do it! ??? > One last attempt: this whole thread is based on the premise > that there is one clear definition of slow. Yet, there isn't. well, for me as a mere user, i just want elisp [per se] to run faster. maybe that has 1000 definitions, but the 3 things that i have read in this thread wfm as PERFECT targets for speeding up and would make emacs even better for me. 1] org mode timestamp [aka "daily/weekly"] agenda to complete faster for a 2 day [that is my normal span] agenda. if this has more than one definition, then i impetuously choose all. :] n.b. it could in principle be mostly spread to 1 core per org agenda file as i doubt it's teh sorting and displaying that takes up the time. [not intending to set cat among pigeons on that last one.] 2] while re-search-forward do replace-match [iirc] [my question which stefan nicely addressed] to work faster. this is a tight loop called frequently. 3] elisp to be much faster so that new ideas can be done. by "per se" i mean, perhaps confusingly, mere users program in a lisp, preferably elisp, as opposed to a strange new syntax or c-like stuff or elisp-like c. for my part, i'll gladly program in cl if it is faster [quite similar to elisp and standard], or even in scheme if needed for tight loops [different from elisp but lisp]. i will not be thinking about anything lower level than lisp. unless somebody says use this construct. -- The Kafka Pandemic What is misopathy? https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html The disease DOES progress. MANY people have died from it. And ANYBODY can get it at any time.