cujojs / curl

curl.js is small, fast, extensible module loader that handles AMD, CommonJS Modules/1.1, CSS, HTML/text, and legacy scripts.
https://github.com/cujojs/curl/wiki
Other
1.89k stars 216 forks source link

Code that removes charset rules from stylesheets (css and style plugins) is slow. #225

Open unscriptable opened 10 years ago

unscriptable commented 10 years ago

Safari 4 would crash hard if there were more than one charset rule in a stylesheet. We should verify if Safari 5+ has this problem. If not, we should remove the slow regexp replacement altogether. If so, we should try to speed it up somehow. @manast notes that it's incredibly slow in #221.