emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master f18af6c: Audit use of lsh and fix glitches


From: Paul Eggert
Subject: Re: [Emacs-diffs] master f18af6c: Audit use of lsh and fix glitches
Date: Fri, 24 Aug 2018 13:55:31 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On my to-do list of things to try is to use 4 adjacent type codes for fixnums, bignums, immediate floats and indirect floats, so that INTEGERP, BIGNUMP, FIXNUMP, FLOATP, and NUMBERP can each be done by a single mask-and-compare. This may improve your timing results, if you're trying to insert a lot of BIGNUMPs into your code, or if you're trying to have a single mask-and-compare test for "this object is a bignum or an indirect float and so needs more work for eq".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]