From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Psionic K Newsgroups: gmane.emacs.help Subject: Re: Identifying sources of allocations in a toy Mandelbrot package Date: Sat, 20 Jan 2024 19:03:55 +0900 Message-ID: References: <87v87ps5gn.fsf@neko.mail-host-address-is-not-set> <877ck4wev2.fsf@neko.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33952"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Psionic K , help-gnu-emacs@gnu.org, incal@dataswamp.org, Eli Zaretskii To: Tomas Hlavaty Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 20 11:04:50 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rR8DZ-0008Un-Hn for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 20 Jan 2024 11:04:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rR8D1-0000Ra-Q7; Sat, 20 Jan 2024 05:04:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rR8Cx-0000Qj-Me for help-gnu-emacs@gnu.org; Sat, 20 Jan 2024 05:04:11 -0500 Original-Received: from mail-yb1-xb30.google.com ([2607:f8b0:4864:20::b30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rR8Cu-0004G5-Q0 for help-gnu-emacs@gnu.org; Sat, 20 Jan 2024 05:04:10 -0500 Original-Received: by mail-yb1-xb30.google.com with SMTP id 3f1490d57ef6-dc24f395c84so1326668276.1 for ; Sat, 20 Jan 2024 02:04:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=positron.solutions; s=google; t=1705745047; x=1706349847; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KlvNr9XFplQmvyvO6xA5eLgjuXK0IaUIv8GOSrTBN2c=; b=bFS/0vWboQvuK9+iuZcujST5fL1+BYiaVq4oOgBoIOe5Hc+l5v4PGY0ekQgq2xMaue e2TcX3NoVBRtl9EWILF55d0agDEhnNY+kDoAjTYlKVQrCEi0aM7QGzfmna84MFDPaBXc KiItAMG9dBwKdKW9eDWC+KxYrTGRgT1MTnAK53PC/kdckYQ8ZI6QSsCYayPv8L2mYCeS /kexgLcWo8SFJ9yBu+jS6y8XB6MnQz0mHmFp75Vc96DQ06s5ygO3N0ig6co845kaDSeK 3CqbLzoKh3/YBYlc0gUYKkvzBXyIcbb6W1jtkZRMFI+h0OQz8UvLOwW2cTuc8CTquDD1 VX3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705745047; x=1706349847; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KlvNr9XFplQmvyvO6xA5eLgjuXK0IaUIv8GOSrTBN2c=; b=uCGGkuZcBh/dxIVhQsYtEJyLzfRB2xpVDuUPpuluD31Tc9hsmxZJhfLBghS5BpE74g s6wfWzcaggnD2UQtoXl2FHJLOeMNEs+O7KqdnOVne9MrvgQB3rmQ+QM+1QThxFsfFNmE 7yRErI6AsgvLX4st609CF7OkCPmSXWtMH5ARK6VpoWdc9njLvh0IM4uZdZJwVw2q3G+n 9tms6a8et9SYlwJJtHYyUIuZ5oy5Was34onWcYY6aOTULQ/PdoemFkHQwjuyOLsz+h+G q8Yvtj66MuLv0WS7kPv2M5pgu5O7EXbKriOnWOSVaI4S4knvduThBlYiPIg/yPCoBNiM l8eA== X-Gm-Message-State: AOJu0YwMSYwaTgsWqHwfNoQyTkXQ87RWRU1bNc8bkP2/uHULlD2ZJ9rB S9wUdPOZGmksrngzLZo4Y9JdSMrwt0j/tROBOfNoIFRcdQRlvxDyERa8vEdNjZjhS9E9cv5NDLb syt9rLMdErDOMf8KhEp3qkT1LsHkYw/hKXwfYPyqzlUQsI7Z+/pEB1g== X-Google-Smtp-Source: AGHT+IEixv2LYUi/z/0O/0Vi+AwosITzdBx6J68JS/snuyqXD0FDrbCujp9N0E+qDei8TZWMUZBL1UgjDfAxqdt7gec= X-Received: by 2002:a25:abe7:0:b0:dbd:c554:e76c with SMTP id v94-20020a25abe7000000b00dbdc554e76cmr1820273ybi.0.1705745047108; Sat, 20 Jan 2024 02:04:07 -0800 (PST) In-Reply-To: <877ck4wev2.fsf@neko.mail-host-address-is-not-set> Received-SPF: pass client-ip=2607:f8b0:4864:20::b30; envelope-from=exec@positron.solutions; helo=mail-yb1-xb30.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145761 Archived-At: > maybe floating point numbers in emacs are not immediate. This is my hunch. There isn't a good second guess at this point. > try your code on sbcl I think that's where we're going. I was mainly hoping to start identifying forms that can do okay even in spite of the Elisp runtime, especially for these kind of iteration problems that could - but should not - generate lots of garbage. The first rows go by in the blink of an eye because of the cache locality. Elisp is almost something. The memory pathologies are likely affecting every other perceived lack of responsiveness. A relatively recent transducer library captured my curiosity. I want to give it a work out alongside dash for a comparison: https://gist.github.com/NicolasPetton/0a46d907febeef3da9e2 Writing dynamic modules to break out of Elisp is one of my next steps. Calling out only via process pipes is rather limited. I haven't worked with SLIME or CIDER etc yet. Definitely need to try them out. Thanks for helping me calibrate my expectations.