I saw you were testing 100MB files. Have you done any measurements with
smaller input files?

Also, in your blog, you said "Perl consciously accepted a regex slowdown to
route around a pathological case where search time could explode to
infinity", which might be related to the bug that Mariano mentioned in his
mail (which Sun gleefully claimed as not a bug).

And, for evidence that things implemented in Java (on Android) have to be
slow, let me present the one and only interpreter in the Dalvik VM :-)

If I have time, I will actually do some benchmarks on Java regexp vs
JavaScript regexp on the G1.

On Wed, Feb 18, 2009 at 9:11 PM, Tim Bray <[email protected]> wrote:

> On Wed, Feb 18, 2009 at 7:56 PM, Mattaku Betsujin <
> [email protected]> wrote:
>
>> I am not sure how Java's regexp is implemented. If it's implemented in
>> Java code, that would be quite slow.
>
>
> I'm not sure which java library implementations Android uses.  The library
> that comes with Java SE is really damn fast, but unsafe at the margins, see
> http://www.tbray.org/ongoing/When/200x/2004/08/22/PJre
>
> BTW, the claim that things implemented in Java code have to be slow is
> unsupported by the evidence. -Tim
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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