[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] cleaning event handler
From: |
Ryan Yeske |
Subject: |
Re: [RP] cleaning event handler |
Date: |
20 Apr 2001 11:23:59 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102 |
Jonathan Walther <address@hidden> writes:
> I could be wrong on this, but I was always tought in school that using
> "register" keyword made a variable off-limits for optimizations. Plus
> it doesn't even gaurantee that the variable will be stuffed in a register
> in the first place; its just a hint. Have you benchmarked the two
> different ways and found a difference? Less code, more code? Faster,
> slower?
that peice of code comes from the glibc manual directly, i dont know
the reasoning behind the register keyword in this case.
ryan
> Jonathan
>
> On Thu, 19 Apr 2001, shawn wrote:
> > >- - register void *value = malloc (size);
> > >+ void *value = malloc (size);
> >
> > What is the reasoning for this section of the patch?
>
>
>
> _______________________________________________
> Ratpoison-devel mailing list
> address@hidden
> http://lists.sourceforge.net/lists/listinfo/ratpoison-devel