I did a benchmark test, and it turns out using prototypes makes a function call twice slower in Google Chrome, and in Firefox, it is 4-5 times slower!!! So, when you're writing a function library for strings where speed is of concern, then you should declare functions like this : function truncate(str, length, pruneStr) { ... } // this is just an example <b>DO NOT USE PROTOTYPES. They needlessly slow down the execution of your code!</b>
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by ghost and has received 1 comments.