GNU bug report logs - #31750
simplify and tune Emacs stack-related allocation

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Fri, 8 Jun 2018 02:29:01 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 31750 <at> debbugs.gnu.org
Subject: bug#31750: simplify and tune Emacs stack-related allocation
Date: Sat, 09 Jun 2018 23:30:30 -0400
Paul Eggert <eggert <at> cs.ucla.edu> writes:

> Subject: [PATCH 01/10] New mint_ptr representation for C pointers
>
> * src/lisp.h (make_mint_ptr, mint_ptrp, xmint_pointer): New functions.

> Use mint pointers instead of merely save pointers.

I think it would be helpful to add a brief summary of the tradeoffs
between save pointers and mint pointers to the commit message.


> +/* A mint_ptr object OBJ represents a pointer P.  OBJ is preferably a
> +   Lisp integer I such that XINTPTR (i) == P, as this is more efficient.
                   ^                    ^
                   I guess one of these is in the wrong case.




This bug report was last modified 6 years and 346 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.