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: Why is Elisp slow? Date: Fri, 3 May 2019 16:34:21 -0700 Message-ID: References: <86d0slrb4h.fsf@zoho.com> <86pnwkpltx.fsf@zoho.com> <8636tgphps.fsf@zoho.com> <86o9c4np6q.fsf_-_@zoho.com> <8636tfocyl.fsf@zoho.com> <20190502075617.GA18331@tuxteam.de> <874l6d3ylg.fsf@mbork.pl> 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="29583"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs@gnu.org To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 04 01:34:47 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hMhhV-0007PJ-J1 for geh-help-gnu-emacs@m.gmane.org; Sat, 04 May 2019 01:34:45 +0200 Original-Received: from localhost ([127.0.0.1]:48498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMhhU-0008Th-JS for geh-help-gnu-emacs@m.gmane.org; Fri, 03 May 2019 19:34:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMhhF-0008TZ-2U for help-gnu-emacs@gnu.org; Fri, 03 May 2019 19:34:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMhhE-0004NE-1m for help-gnu-emacs@gnu.org; Fri, 03 May 2019 19:34:29 -0400 Original-Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]:47013) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMhhD-0004L1-Qx for help-gnu-emacs@gnu.org; Fri, 03 May 2019 19:34:27 -0400 Original-Received: by mail-lj1-x243.google.com with SMTP id h21so6519390ljk.13 for ; Fri, 03 May 2019 16:34:26 -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=4B5ql62rY2a9JUvkzhG3DseUwbF+9qvV1TYTLOb6joU=; b=YSkSwxaA85dLyPOXHlbXENEY3SJsQrzurvp0clUDIXs7M7iHNfm7WYve99wKusdPdK 1ndgM2pJTNLoQhUMYhyGJVKzF3XtBAwjOh5M9sej/ClCdnrmHh/zjLgO8C1p2KjwtSjl iR6aMbcLttUlhGMb1DfYIu5uH058Z8goo9kDG9CAqoPf/6iysb6Lrou9UG9U8X5DecPP dxfG7QIn+NwPyUPPSAaYgFGBfq8+xX8pzJLkPb+l7cwpP6iVCjgGhdfHhdzineAEaU+n sYkyTL11G23pWv7T7iTDd8yJ6ri6ZpHsxllc3DkEuPmWl44JjTK0L9rTF53QKUnuHdk4 iMFg== 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=4B5ql62rY2a9JUvkzhG3DseUwbF+9qvV1TYTLOb6joU=; b=jUQ9q0BOK9YvbPLr6glRLkARFCrHLQMvAmHAxRvEgWmi7HPWu0HEr2n1Nk5/FZlz1b t/XULdgaG72AXi8vic/nrbcX7UpC2Bkza/AojYFifa7GNZGURd/pzAsVE7BfhUIzwZnF GDKZGPl6F1q5ZGa6fa+9RUXGwvuvFCGBeaH9ryeFjHH85R8hT7+j/BXU4dsy/IkCNU1k JzGp9KIv3zEg5cBkLxfIA7DQBGL5+SNkpZd5M7lLpEuBhhz7g+Yllba+Q/J62zHrw0aM YUIylXmu+9z+uCbCh+yftR8/HnudruTukyYeQ9lwbO/9EqquXEV1nAv3PYHxtqn7tqhE hmJA== X-Gm-Message-State: APjAAAUSuQiumrLgxAoS+FXon+iGo3iI5S9kpblWgvblNzBMWlATcYl/ NUXq8kEtG77CfbBdsK3t31vd+Shvhn5Lk0PUWes= X-Google-Smtp-Source: APXvYqxKSa0JfOY7mmkFIIo/696DZT+UPlHw2aA7PvCXZgsv0Q5XcL1naDMYUUen7I4+cWGhmqRIAynzx8+fZN1fcY8= X-Received: by 2002:a2e:3e0e:: with SMTP id l14mr6557534lja.125.1556926463058; Fri, 03 May 2019 16:34:23 -0700 (PDT) Original-Received: by 2002:ac2:53b6:0:0:0:0:0 with HTTP; Fri, 3 May 2019 16:34:21 -0700 (PDT) In-Reply-To: <874l6d3ylg.fsf@mbork.pl> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::243 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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:120178 Archived-At: On 5/2/19, Marcin Borkowski wrote: > ...well, Org-mode agenda takes almost 30 seconds to generate for me... [replying in general] org agenda is the slowest part of emacs for me. it would be *great* if devs could speed it up with c. i am curious what would they do? take a look at the profiles. maybe speed up regexps? a complete rewrite in lisp might or might not speed it up. it might or might not allow devs to speed it up with c. i think a complete rewrite has been proposed, but dunno if it's going to be done or will keep compatibility or be known to be likely faster. i /think/ a rewrite /has already/ been done, with a nice lisp syntax to replace the existing non-lisp tags search syntax. but last i heard it leaves out a small number of features and it isn't faster yet. iirc part of the reason given for that was that the existing one was optimized to death. however, idk if it is a complete rewrite or if speed was a desideratum. perhaps it or parts of it could be rewritten or sped up in c. dunno. as for cl, it's so similar to el that it is a natural comparison. which makes me wonder why a participant in this thread said it was for wizards? elisp has buffers, syntax tables, and font locking. -- 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.