File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -385,21 +385,6 @@ function promisify(original) {
385
385
386
386
promisify . custom = kCustomPromisifiedSymbol ;
387
387
388
- // The built-in Array#join is slower in v8 6.0
389
- function join ( output , separator ) {
390
- let str = '' ;
391
- if ( output . length !== 0 ) {
392
- const lastIndex = output . length - 1 ;
393
- for ( let i = 0 ; i < lastIndex ; i ++ ) {
394
- // It is faster not to use a template string here
395
- str += output [ i ] ;
396
- str += separator ;
397
- }
398
- str += output [ lastIndex ] ;
399
- }
400
- return str ;
401
- }
402
-
403
388
// As of V8 6.6, depending on the size of the array, this is anywhere
404
389
// between 1.5-10x faster than the two-arg version of Array#splice()
405
390
function spliceOne ( list , index ) {
@@ -579,7 +564,6 @@ module.exports = {
579
564
getSystemErrorName,
580
565
isError,
581
566
isInsideNodeModules,
582
- join,
583
567
lazyDOMException,
584
568
lazyDOMExceptionClass,
585
569
normalizeEncoding,
You can’t perform that action at this time.
0 commit comments