🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1811

Re: 24 bit pointers

#1811
From: Kyle Jones
Date: Tue, 02 Jan 1990 20:55
16 lines
1233 bytes
Robert Krawitz writes:
 > I agree with the concept of making integers fast and compact, since
 > they're used often enough so that they shouldn't require a pointer
 > dereference every time.

I'm not so sure it's worth it.  Lisp variable that are used internally
and whose values are normally integers have their values forwarded to
real C ints internally anyway, so there's no overhead except when the
Lisp variables value is changed.  As for the interpreted Lisp, the extra
dereference is small potatoes compared to all the type checking and arg
grokking that goes on while interpreting code.

On the other hand, stealing bits from Lisp ints means dates from the
epoch can't be represented in a single integer.  Thus the file times
returned by file-attributes are difficult to use because relational
operator won't work on them.
Technical Details
Message-ID: <1990Jan2.205554.22344@talos.uu.net>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!talos!kjones
References: <9001012326.AA04455@atlantis> <32538@news.Think.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!talos!kjones
From: kjones@talos.uu.net (Kyle Jones)
Newsgroups: gnu.emacs.bug
Subject: Re: 24 bit pointers
Message-ID: <1990Jan2.205554.22344@talos.uu.net>
Date: 2 Jan 90 20:55:54 GMT
References: <9001012326.AA04455@atlantis> <32538@news.Think.COM>
Reply-To: kjones@talos.uu.net
Distribution: gnu
Lines: 16