Re: declare 64 bit integers?
On Sep 27, 12:09 am, jrw...@xxxxxxxxx wrote:
I'm writing a chess program using rotate bitboards (64 bit integers)
Given that this is Common Lisp, you should probably just work with
vectors of bits rather than integers. Most implementations will do
logical operations on bit vectors really fast, especially if you use
the three-argument form:
(bit-and a1 a2 a1)
which shouldn't cons at all.
.
Relevant Pages
- Re: newbie question: immutable cons?
... > Does common lisp allow one to create a cons whose car and cdr can not ... > It appears that (defconstant ...) doesn't quite do what I want. ... > immutable cons. ... > * do any popular common lisp implementations provide such a capability ... (comp.lang.lisp) - Re: I/O in Lisp
... > code is portable across Common Lisp implementations. ... certainly the language standard provides no way to do it. ... > Common Lisp provides an abstract data type called a CHARACTER, ... (comp.lang.lisp) - Common Lisp / Scheme comparison
... spec and several implementations dozens of variously comprehensive ... Fully reentrant continuations. ... C numeric types plus bignums Implementation-defined numeric types, ... Common Lisp just wins on numeric implementations provide blazing speed ... (comp.lang.lisp) - Re: So confused with scheme options
... I've installed plt, chicken, and gambit, in an ... I actually did install ... Try the free editions of the commercial implementations. ... They give you very nice and convenient environments, and are especially suited for Common Lisp beginners. ... (comp.lang.scheme) - Re: Back to the Future: Lisp as a Base for a Statistical Computing System
... The software is XLISP-STAT, ... XLisp was one of these Lisp implementations in C. ... its own Lisp language. ... The authors of the paper argue that by using Common Lisp: ... (comp.lang.lisp) |
|