[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #1773: Idea: numeric dispatch with switch
From: |
Chicken Trac |
Subject: |
Re: #1773: Idea: numeric dispatch with switch |
Date: |
Tue, 03 Aug 2021 13:17:48 -0000 |
#1773: Idea: numeric dispatch with switch
-------------------------------------+-------------------------------------
Reporter: sjamaan | Owner: (none)
Type: defect | Status: new
Priority: not urgent | Milestone: 5.4
at all |
Component: core | Version: 5.2.0
libraries | Keywords: performance, numeric
Resolution: | tower
Estimated difficulty: easy |
-------------------------------------+-------------------------------------
Comment (by sjamaan):
I was unable to get a performance gain when doing this with nested
switches. This is a clean version as there are no hacks involved to get
the combined hashing for two types. If we decide to do it for readability,
this first version is probably the one we want to apply.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1773#comment:1>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.