From bbc711d5c719bbd14cd7849309e89608ae13d287 Mon Sep 17 00:00:00 2001 From: Jukka Jylänki Date: Sun, 16 Mar 2014 04:08:02 +0200 Subject: Migrate to using musl 0.9.13 strpbrk for better asm.js performance. --- src/library.js | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src') diff --git a/src/library.js b/src/library.js index 6f8fba5e..e7298721 100644 --- a/src/library.js +++ b/src/library.js @@ -3639,23 +3639,6 @@ LibraryManager.library = { return pdest|0; }, - strpbrk: function(ptr1, ptr2) { - var curr; - var searchSet = {}; - while (1) { - var curr = {{{ makeGetValue('ptr2++', 0, 'i8') }}}; - if (!curr) break; - searchSet[curr] = 1; - } - while (1) { - curr = {{{ makeGetValue('ptr1', 0, 'i8') }}}; - if (!curr) break; - if (curr in searchSet) return ptr1; - ptr1++; - } - return 0; - }, - __strtok_state: 0, strtok__deps: ['__strtok_state', 'strtok_r'], strtok__postset: '___strtok_state = Runtime.staticAlloc(4);', -- cgit v1.2.3-18-g5258