[Pkg-javascript-commits] [pdf.js] 163/210: Strict isEOF / ~22% faster on issue2813, from 16.5s to 13.5s

David Prévot taffit at moszumanska.debian.org
Thu Jun 5 14:21:13 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch upstream
in repository pdf.js.

commit 7b68737baa518b7ff06b819dd8984b25a49532e2
Author: p01 <p01 at opera.com>
Date:   Thu May 15 16:06:24 2014 +0200

    Strict isEOF / ~22% faster on issue2813, from 16.5s to 13.5s
---
 src/core/parser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/parser.js b/src/core/parser.js
index 887d37b..c7e7b18 100644
--- a/src/core/parser.js
+++ b/src/core/parser.js
@@ -24,7 +24,7 @@
 var EOF = {};
 
 function isEOF(v) {
-  return (v == EOF);
+  return (v === EOF);
 }
 
 var Parser = (function ParserClosure() {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list