Home

Add a comment

 

Avatar: Ben

Help understanding the code

I'm trying to understand the code and have a few questions. Apologies that they are pretty basic: - What's enlargeIn's purpose? I'm just struggling to fully get it. - Comparing v1.02 to latest version, some of the basic constants change. enlargeIn, dictSize and numBits are all +1 in the older version. Why the change? - In the latest optimized version there are mostly, if not exclusively, '==' instead of '===' comparisons. Is this intentional or are they faster? I don't see any cases where the comparison result would be different, but all my reading points to the exact comparison as preferable unless coercion is intended. Many thanks for helping out an amateur coder.

Help understanding the code


Title
Body
HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
OpenID Login
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

Home