Optimize is_cons_half()
commitce427145862cb8df9757016a42019a8a3f4b03f0
authorDouglas Katzman <dougk@google.com>
Sat, 1 Apr 2017 00:13:20 +0000 (31 20:13 -0400)
committerDouglas Katzman <dougk@google.com>
Sat, 1 Apr 2017 00:16:26 +0000 (31 20:16 -0400)
treefe22fa24a40141bd2b8caeddbaefa5058ba1c8f8
parent7b097db861a3c3227605fd092fd2767418fca18f
Optimize is_cons_half()

The 64-bit variant has only a branch for the "||" operator
instead of sequential fixnump() and widetag tests.
Both clang and gcc compile this quite well.
src/runtime/runtime.h