From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Add tree-il optimizations for equal? on char and number literals Date: Thu, 14 May 2020 10:38:45 +0200 Message-ID: <87wo5e9ai2.fsf@pobox.com> References: <71bf4755-11b0-4211-abe7-677adc14db76@www.fastmail.com> <8736849bxw.fsf@pobox.com> <7aa1309d-78a8-4cc4-8529-42701e053196@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="33503"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: guile-devel@gnu.org To: Linus =?utf-8?Q?Bj=C3=B6rnstam?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Thu May 14 10:39:18 2020 Return-path: Envelope-to: guile-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 1jZ9Og-0008al-5U for guile-devel@m.gmane-mx.org; Thu, 14 May 2020 10:39:18 +0200 Original-Received: from localhost ([::1]:34750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZ9Oe-0005uC-SQ for guile-devel@m.gmane-mx.org; Thu, 14 May 2020 04:39:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZ9OV-0005u1-87 for guile-devel@gnu.org; Thu, 14 May 2020 04:39:07 -0400 Original-Received: from fanzine.igalia.com ([178.60.130.6]:53390) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZ9OQ-0003V3-2W for guile-devel@gnu.org; Thu, 14 May 2020 04:39:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=VQIzc2sgVu8eRMeVPdY2efkHPWJd+qWtmv7UzvYf4MY=; b=s6IFwTG5/f00c/7QKfb9d5RYQ6Fp83xkrFTMMUXsh1M2JNz5Nf63iRZnSJp3ZUEJZVvnNCsioMlfj4kxVYkSwMFURHF8R1ZhM2ev6f3jfNME4BmB9qkFLpBkcJnrtbEZoWYvT3cxo5fKJLmVs2CKWoXQHH8yLng0R9zz05ACp1vJnh948pwTTubYNDnfvz2gRFQmkcQIWtP6T+Flq/t+L1aHwIohPTjw9STSHvGIf/JKE+rG10y3zDp/PslldqF03SLYyYndUIYr5JOMTJREkDebm+Q77WnZyHAp4SZXGxMPYPnMX7zpYC535P9/HbNsVfhlbLyCTmO7CgxjvY2BPw==; Original-Received: from 82-65-63-215.subs.proxad.net ([82.65.63.215] helo=sparrow) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) id 1jZ9OK-00014N-Vl; Thu, 14 May 2020 10:38:57 +0200 In-Reply-To: <7aa1309d-78a8-4cc4-8529-42701e053196@www.fastmail.com> ("Linus \=\?utf-8\?Q\?Bj\=C3\=B6rnstam\=22's\?\= message of "Wed, 13 May 2020 23:16:20 +0200") Received-SPF: neutral client-ip=178.60.130.6; envelope-from=wingo@pobox.com; helo=fanzine.igalia.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/14 04:38:58 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20519 Archived-At: On Wed 13 May 2020 23:16, Linus Bj=C3=B6rnstam writes: > On the latest master equal? was not reduced to eq? on chars in the repl > for things like ,opt (define (a b) (equal? b #\b)). This turned out to be that I had broken the REPL command. The optimizer was working fine though. Fixed now :) Cheers, Andy