On Thu, Apr 14, 2011 at 3:34 PM, Paul <[email protected]> wrote:
> That was my thinking exactly - from the trace, a HUGE portion (~80%!)
> of the conversion time is spent on string operations that wouldn't
> seem to be needed.  I couldn't find any link to a native routine via
> the traceview.

The toLowerCase() is to handle the possibility of 0x hex values:

http://goo.gl/8EmJP

I don't see any StringBuilder references in that class, which I would
have expected if I'm reading your ASCII traceview output correctly.

You might consider just grabbing the algorithm source, fine-tuning to
suit (e.g., eliminating support for hexadecimal floating-point
numbers, whatever the heck those are), and seeing if that helps.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to