开发者

How efficient is encodeURIComponent?

How efficient is the encodeURIComponent implementations开发者_Go百科 in major browsers? Is it worth memoizing calls to encodeURIComponent?


This sounds like premature optimization.

Unless you've profiled your page and found that encodeURIComponent is taking too much time, you shouldn't worry about it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜