[Top][All Lists]
[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.
- Re: 'struct window' cleanup #2, (continued)
- Re: 'struct window' cleanup #2, Dmitry Antipov, 2012/06/25
- Re: 'struct window' cleanup #2, martin rudalics, 2012/06/25
- Re: 'struct window' cleanup #2, Eli Zaretskii, 2012/06/26
- Re: 'struct window' cleanup #2, Dmitry Antipov, 2012/06/26
- Re: 'struct window' cleanup #2, Eli Zaretskii, 2012/06/26
- Re: 'struct window' cleanup #2, Stefan Monnier, 2012/06/26
- Re: 'struct window' cleanup #2,
Eli Zaretskii <=
- 'struct window' cleanup #3, Dmitry Antipov, 2012/06/27
- Re: 'struct window' cleanup #3, Stefan Monnier, 2012/06/27
- Re: 'struct window' cleanup #3, Eli Zaretskii, 2012/06/27
- Re: 'struct window' cleanup #3, Eli Zaretskii, 2012/06/27
- Re: 'struct window' cleanup #3, Dmitry Antipov, 2012/06/27
- Re: 'struct window' cleanup #3, Eli Zaretskii, 2012/06/27
- Re: 'struct window' cleanup #3, Dmitry Antipov, 2012/06/28
- Re: 'struct window' cleanup #2, martin rudalics, 2012/06/27
- Re: 'struct window' cleanup #2, Eli Zaretskii, 2012/06/27
Re: 'struct window' cleanup #2, Eli Zaretskii, 2012/06/25