Google Modifying Chrome Code for Faster JavaScript

Paul Lilly

Speed or stability? That's the question Google Chrome programmers had to ask themselves when it came to implementing JavaScript, and they went with the latter. To that end, the Chrome team opted to use the JPCRE software library, a variation of the Webkit browser project of the PCRE package. This approach made Chrome behave a bit like Apple's Safari browser, but now the Chrome team says it's ready to move on to faster pastures without sacrificing compatibility.

"As we've improved other parts of the language, regexps started to stand out as being slower than the rest," Chrome programmers wrote in a Chromium blog post. "We felt it should be possible to improve performance by integrating with our existing infrastructure rather than using an external library."

Chrome programmers claim to have tested its new implementation of regular expressions (regexps) in its V8 JavaScript engine against one million popular websites to ensure it stays compatible with its previous method. So far, the update only applies to the newest developer build, version 2.0.160.0.

Around the web

by CPMStar (Sponsored) Free to play

Comments