Skip to content

Create vmx_memchr() and use it (along with other JS string matching improvements) #406

@classilla

Description

@classilla

A la https://bugzilla.mozilla.org/show_bug.cgi?id=1371215 :

We should be using the unrolled version, not memchr(), which is apparently gross and slow on anything before 10.12 (see https://gist.github.com/nico/2624336 ). In particular the defined (__clang__) is wrong, so we need to correct the block in https://hg.mozilla.org/mozilla-central/rev/f4048987a5e3

Once that is done, we can take https://hg.mozilla.org/integration/mozilla-inbound/rev/fce84022f5e3 and https://hg.mozilla.org/integration/mozilla-inbound/rev/35b9efa24066 (minus the change above, of course).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions