|
From: Gerrit V. <vo...@ca...> - 2007-05-25 09:24:16
|
Hi,
I'm thinking of changing the getFoo field access functions to readFoo.
The main reason is that with OSG_1_COMPAT enabled there are a lot of
unnecessary changes recorded (internally during rendering), because
the compiler selects the wrong, non const, get. Which means the
performance is dreadful.
>From the two options,
1) chasing down all the locations and make sure the const version
is used
and
2) change getFoo to readFoo to make sure internally no unnecessary
changes are recorded
I'm currently leaning towards 2). Main reason is it will catch
everything at once (at least internal). 1) will be a constant battle.
Any opinions ??
gerrit
|