Re: [dev] Conversation with Anselm R. Garbe of suckless.org

From: Alan Busby <thebusby_AT_thebusby.com>
Date: Wed, 16 Sep 2009 17:08:22 +0900

On Wed, Sep 16, 2009 at 4:42 PM, Anselm R Garbe
>
> IDE's like Eclipse have code assitance support to generate these
> automatically, great isn't it? So if you imagine a Java program where
> each datum access happens through getters and setters, the program
> must become a magnitude faster if the underlying code would be
> replaced using direct datum/field access instead, wouldn't it?
>

No, because even in C the compiler should be smart enough to do it for you.
In Java, you can have even more convoluted code and the interpreter can
optimize it for you while it runs. GCC supports something similar as well
with -fprofile-generate and -fprofile-use .
Received on Wed Sep 16 2009 - 08:08:22 UTC

This archive was generated by hypermail 2.2.0 : Wed Sep 16 2009 - 08:24:02 UTC