emacs-devel
[Top][All Lists]
Advanced

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

Re: 'struct window' cleanup #2


From: Eli Zaretskii
Subject: Re: 'struct window' cleanup #2
Date: Wed, 27 Jun 2012 06:03:52 +0300

> From: Stefan Monnier <address@hidden>
> Cc: martin rudalics <address@hidden>,  address@hidden,  address@hidden
> Date: Tue, 26 Jun 2012 20:42:37 -0400
> 
> >> Anyway, window_end_pos and window_end_vpos are the more
> >> promising candidates (if Eli agrees).
> > I don't object.  But if we think that Lisp integers cause any
> > significant slowdown during GC
> 
> For me, the reason to make such changes is to make the code simpler and
> more robust: by avoiding conversion to/from Lisp_Object we get to use
> more of C's type checks (as weak as they are, they're better than
> nothing).
> And for objects which are always integers, the code ends up simpler.
> If it's more efficient, that's just a nice side-effect.

As I said, I don't object.  I was responding to what seemed to be
Dmitry's main motivation: make GC consume less resources.



reply via email to

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