From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Type declarations in Elisp Date: Sun, 27 Aug 2023 11:46:38 -0400 Message-ID: References: <87il984vxv.fsf@localhost> <03fc79f4-a532-71b1-0de9-8e52bdf3f138@gmail.com> <87msykfwym.fsf@localhost> <83lee3tjla.fsf@gnu.org> <87wmxm7iu2.fsf@dataswamp.org> <878r9wg9l3.fsf@localhost> <87edjo7f4k.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12049"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emanuel Berg , emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 27 17:47:40 2023 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 1qaHzI-0002wW-5W for ged-emacs-devel@m.gmane-mx.org; Sun, 27 Aug 2023 17:47:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qaHyQ-0000m5-JZ; Sun, 27 Aug 2023 11:46:46 -0400 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 1qaHyL-0000l1-1H for emacs-devel@gnu.org; Sun, 27 Aug 2023 11:46:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaHyJ-0002qW-IT; Sun, 27 Aug 2023 11:46:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=VaojNCtfAXHozXdYslumKbxhy4u28gA8+PslEKkIW9g=; b=OyPBbXEfza7o6SDr2uNr s/vTHG0Q2SUny37Han1OrikE/RK5E3wZ8dwRQNi28It8PVohlSYKlmZ3h9BBIbXigfzU1O4C6KOMY 4y/t8/MWBE3j+upsicHZ60xXI74bfmpo7MUM9xMMWKUvndFq60NhyZ7pqUw82yQOpVzgQ+b+RhkZr Z/44u3SHWOlGUgr/mf1/mYqJuE/bauv6+pgFBlgf5hbCio87TkkF9WCO8WzNjTyC/XR/5zKkW+mQp FqFsjdR0w8iXSV+MUgHrnuPt1JUXdUC05ZMkc5ZoQ/ebUOZxTYFvufEtgyq3bm9d/P/374Ub5XOeM st+FwIHPnzmbQg==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qaHyI-0000kF-KF; Sun, 27 Aug 2023 11:46:38 -0400 In-Reply-To: <87edjo7f4k.fsf@localhost> (Ihor Radchenko's message of "Sun, 27 Aug 2023 14:07:39 +0000") 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:309352 Archived-At: Ihor Radchenko writes: > Andrea Corallo writes: > >> Ihor Radchenko writes: >>> Elisp fibn: 0.00 sec vs. SBCL 0.07 sec >>> Elisp fibn-rec: 0.00 sec vs. SBCL 0.55 sec >>> Elisp fibn-tc: 0.00 sec vs. SBCL 0.41 sec >> >> IIRC the issue is that the native compiler at speed 3 completly optmizes >> out the thress fibonacci bechmarks, when I wrote/added those u-benchmark >> it was not the case but afterward the compiler got smarter. > > I got the same 0.0 numbers using -batch call with default settings, > which should be speed 2. Hi Ihor, I'm not sure abut what you mean with "using -batch call with default settings", a detailed reproducer would probably make commenting easier. Thanks Andrea