Skip to content

Tag: performance

fastest MD5 Implementation in JavaScript

There are many MD5 JavaScript implementations out there. Does anybody know which one is the most advanced, most bugfixed and fastest? I need it for this tool. Answer I’ve heard Joseph’s Myers implementation is quite fast. Additionally, he has a lengthy article on Javascript optimization describing…

How to quickly clear a JavaScript Object?

With a JavaScript Array, I can reset it to an empty state with a single assignment: This makes the Array “appear” empty and ready to reuse, and as far as I understand is a single “operation” – that is, constant time. Is there a similar way to clear a JS Object? I know I can itera…