> while reading ben mail I noticed improvements in the way "constant
generated
> compiler code" is handled.
> That's great !
> I wondered if it could be possible to add the global constants in code
> segments or in some storage heap too.

It is already possible, for limited cases.  Do a Google search on
"pcrelconstdata" and see what you find.

> On much systems, having global constants (such as tables, strings...)
is not
> a problem. But on Palm it seems that this constants are put in the
writable
> memory heap which is not very usefull and space wasting ?
> If that data could be linked into code segments or a storage heap,
PalmOs
> would nicely work as other platforms.

They can be put in code segments.  The big limitations are that the
constant data cannot contain pointers (since they change at runtime) and
you can't get to a constant from a different code segment without
calling helper code.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to