From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.devel Subject: Re: Display of undisplayable characters: \U01F3A8 instead of diamond Date: Sat, 10 Sep 2022 06:41:32 +0200 Message-ID: <87a6777seb.fsf@dataswamp.org> References: <83mtbhneht.fsf@gnu.org> <83czcakqd3.fsf@gnu.org> <87a67dxhfw.fsf@dataswamp.org> <875yi0wzx7.fsf@dataswamp.org> <834jxkk635.fsf@gnu.org> <878rmw8085.fsf@dataswamp.org> <83edwnj4fh.fsf@gnu.org> <87tu5j7tu1.fsf@dataswamp.org> <83a67bih0f.fsf@gnu.org> <83tu5jgvfy.fsf@gnu.org> <83sfl3gtah.fsf@gnu.org> <83fsh3ghn9.fsf@gnu.org> <87bkroub0v.fsf@dataswamp.org> <83r10kdd68.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6221"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:EfIgQ7h9eQmpYuwwXr8QDKRxAok= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 10 07:51:36 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oWtOy-0001QB-Bv for ged-emacs-devel@m.gmane-mx.org; Sat, 10 Sep 2022 07:51:36 +0200 Original-Received: from localhost ([::1]:60430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWtOw-0008Sf-Rs for ged-emacs-devel@m.gmane-mx.org; Sat, 10 Sep 2022 01:51:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWsJL-0000wY-VT for emacs-devel@gnu.org; Sat, 10 Sep 2022 00:41:43 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:37736) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWsJK-0007Ie-6b for emacs-devel@gnu.org; Sat, 10 Sep 2022 00:41:43 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1oWsJH-00049j-G1 for emacs-devel@gnu.org; Sat, 10 Sep 2022 06:41:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 10 Sep 2022 01:47:43 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:295100 Archived-At: Eli Zaretskii wrote: >>> Why does it matter? >> >> Observe ... >> >> Situation: You want to do this, f(x) = y. >> >> Problem: f(x) is expensive to compute. >> >> Solution: Compute it ONCE, then store f = ((x y) ...) in >> a cache data file, so next time f(x) = y is needed, instead of >> computing f(x) again search the data file - search, which >> _isn't_ expensive. > > And I ask again: why does it matter whether you record > a program or its data If you store the result of running the program you don't need to execute the program again next time you need the result, instead you search for it and retrieve it, simple as that. Only if it cannot be found do you execute (and then insert the computed value), so optimally and in practice often execution only has to be done once. -- underground experts united https://dataswamp.org/~incal