I'm seeing some slowness with AutoBeanCodex.decode(...), and I have a
few questions.
In my application, it needs to decode hundreds of json objects. Here
are some rough timings:
FF3 on Mac: <1 second
Safari on Mac: <1 second
Chrome on Mac: seconds, but still reasonable
IE6 on XP: 1 minute+
Is there anything I can do to make the parsing run faster on IE6? I
know the parsing code is slow because when I substitute json parsing
with randomly generated data, IE6 renders within reasonable time. (I
hate IE6, hate IE6, hate IE6... but that doesn't mean I can skip its
support =/)
I'm looking at the AutoBeanCodex.decode code. Does it have any calls
that are known to be slow on IE6? What about builtin function eval? I
heard there are security risks, but say if I mind them (crossing
fingers >_<), is there a way to tell autobean codex to use eval
instead of the default parser?
many thanks
p.s. I understand that there are other work arounds (like incremental
loading etc) to this issue, for now, I just want to focus on
AutoBeanCodex.decode.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment