Re: How to reduce Zero Initialised region.



jacob navia wrote:

Why do you think that this is the problem?

Did you measure the program's performance to see where the
hot spots are? What data leads you to your conclusion that
the static data is the problem?

If you pass pointers around it can be a better design but it will
be slightly slower, since global data needs nothing to be passed, it is
always there.

He did mention he was on an embedded system. This could be a space rather than
speed issue.
.



Relevant Pages

  • Re: which collection to use
    ... the degree of key duplication in your data ... spots', then your microbenchmarks should loop many times and alternate ... cache misses, other programs running... ...
    (comp.lang.java.programmer)
  • Re: How to reduce Zero Initialised region.
    ... What data leads you to your conclusion that ... the static data is the problem? ... be slightly slower, since global data needs nothing to be passed, it is ...
    (comp.lang.c)