Even with the extra call to access the offset, I would think there would be
some advantage to not making the data copies, which generate garbage cruft.
Am interested in your patch whenever it surfaces.
I seem to remember you saying that using an Encoder/Decoder didn't pay off
when the number of s
On May 31, 2010, at 14:25 , David Dabbs wrote:
you may access a String's internals via reflection in a "safe," albeit
potentially implementation-specific way. See class code below.
As long as your java.lang.String uses "value" for the char[] and
"offset" for the storage offset, this should work.
The approach I found worked the best:
1. Copy the string into a pre-allocated and re-used char[] array. This
is needed since the JDK does not permit access to the String's
char[] ,to enforce immutability. This is a performance "loss" VS the
JDK, which can access the char[] directly
Ev
Hi
I have been working on protobufs since a week as to how implement it
on symbian but I am still not able to solve it. Getting some
undefineed errors which are surely for libraries missing. Java lib was
easily available but in symbian have not found yet. Or if any
alternative solution please sugg