[Vm-dev] change to struct foo {} fum declaration
Esteban Lorenzano
estebanlm at gmail.com
Thu Dec 2 22:30:24 UTC 2010
Hi,
As part of my new role, I'm still trying to compile and understand all the building process... and testing with a 5.x produced I found that the tiny benchmarks for my vm and for the 5.x series was significantly worse than it's predecessors (4.x). The difference is significative (32 million send in 5.x/44 million send in 4.x). Trying several optimizations with John, he found that changing the declaration:
struct foo { ... } fum;
to
static struct foo { ... } fum;
speeds the execution, up to 48 million send, which is very reasonable.
So, I want to change the default definition of fum variable (to "static struct foo").
What do you think?
Cheers,
Esteban
More information about the Vm-dev
mailing list