unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
Cc: 21883@debbugs.gnu.org, Zefram <zefram@fysh.org>
Subject: bug#21883: unnecessary bit shifting range limits
Date: Sun, 14 Oct 2018 18:19:36 -0400	[thread overview]
Message-ID: <87a7ngtblz.fsf@netris.org> (raw)
In-Reply-To: <CAGua6m1gnynxOxWsTEjf=EAMirWVp+bOP2aTsiLs=d1Z0UmdLw@mail.gmail.com> (Stefan Israelsson Tampe's message of "Sun, 14 Oct 2018 11:46:12 +0200")

Stefan Israelsson Tampe <stefan.itampe@gmail.com> writes:
> how would this slow down the code. just add the correction where you
> throw the exception which should be in a branch outside the hot path.

If you have a suggestion that's simpler than what I did in commits
011aec7e, 9448a078, and 1990aa91, and just as fast in the common cases,
feel free to propose a patch.  The words above are insufficient.

      Mark





  reply	other threads:[~2018-10-14 22:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-12  7:07 bug#21883: unnecessary bit shifting range limits Zefram
2018-10-14  8:18 ` Mark H Weaver
     [not found]   ` <CAGua6m1D3Ed-T3GJntfZr5QesTvR_Gf1-JbsiAetdoxBGkce_w@mail.gmail.com>
     [not found]     ` <CAGua6m1CrfW2jEmQcDn_-1szGQbNcboBa45M6inEE5As6FToXw@mail.gmail.com>
2018-10-14  9:46       ` Stefan Israelsson Tampe
2018-10-14 22:19         ` Mark H Weaver [this message]
2018-10-15  7:08           ` Stefan Israelsson Tampe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a7ngtblz.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=21883@debbugs.gnu.org \
    --cc=stefan.itampe@gmail.com \
    --cc=zefram@fysh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).