tag:blogger.com,1999:blog-542398624287876588.post5787416278420086914..comments2024-03-11T07:18:29.295+00:00Comments on Nifty Snippets: Well, I'm flooredT.J. Crowderhttp://www.blogger.com/profile/05828354736681391962noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-542398624287876588.post-23666799861227604002022-12-14T13:53:42.833+00:002022-12-14T13:53:42.833+00:00Your post is just outstanding! thanks for such a p...Your post is just outstanding! thanks for such a post,its really going great and great work<br /><a href="https://www.bestpsychichealers.com/" rel="nofollow"><b>Psychic Reading in Mississauga</b></a><br />psychichealersharmahttps://www.blogger.com/profile/12011147668985303946noreply@blogger.comtag:blogger.com,1999:blog-542398624287876588.post-78692414053027262522021-12-01T17:56:20.158+00:002021-12-01T17:56:20.158+00:00Explore the mysterious world of astrology. At bles...Explore the mysterious world of astrology. At blessurself, you will discover how to <a href="https://www.blessurself.com/courses" rel="nofollow">study astrology online</a>, at your own pace and in your own time. You can become an expert in days and never look back! Explore the mysterious world of astrology. At astro-logos.com you will discover how to study astrology online, at your own pace and Best Astrologer in Indiahttps://www.blogger.com/profile/06147834870576534077noreply@blogger.comtag:blogger.com,1999:blog-542398624287876588.post-89388385249361324302012-07-07T17:30:16.631+01:002012-07-07T17:30:16.631+01:00@mcprogrammer:
Critical point to make, thank you!...@mcprogrammer:<br /><br /><b>Critical</b> point to make, thank you! I've added that in.<br /><br />Best,<br /><br />-- T.J.T.J. Crowderhttps://www.blogger.com/profile/03619792122821936638noreply@blogger.comtag:blogger.com,1999:blog-542398624287876588.post-13781078449479266602012-07-07T17:15:30.537+01:002012-07-07T17:15:30.537+01:00It might be worth mentioning that when you're ...It might be worth mentioning that when you're dealing with negative numbers, the bitwise operations are equivalent to the ceiling operation, not floor. So, as always, make sure the code is *really* going to do what you want it to do first.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-542398624287876588.post-23653328402334057132012-07-07T16:36:25.528+01:002012-07-07T16:36:25.528+01:00@PePa:
"I'm surprised parseInt is so slo...@PePa:<br /><br /><i>"I'm surprised parseInt is so slow in Chrome when it's faster in FF."</i><br /><br />It isn't, for me on Linux. I was really surprised by your statement, so I went back to the jsPerf page, and saw that there had been a second Firefox 13 test. I'm guessing that's yours. I seem to recall you use Windows. Very surprising that parseInt should be T.J. Crowderhttps://www.blogger.com/profile/03619792122821936638noreply@blogger.comtag:blogger.com,1999:blog-542398624287876588.post-32883925970457879032012-07-07T16:23:08.694+01:002012-07-07T16:23:08.694+01:00Interesting results. I'm surprised parseInt is...Interesting results. I'm surprised parseInt is so slow in Chrome when it's faster in FF. <br />Thanks for finding the test for me, I'm a lazy bastard.Petr 'PePa' Pavelhttps://www.blogger.com/profile/10288514154037030289noreply@blogger.comtag:blogger.com,1999:blog-542398624287876588.post-61703691583659604892012-07-07T15:42:20.383+01:002012-07-07T15:42:20.383+01:00@PePa:
Thanks!
"...why haven't you incl...@PePa:<br /><br />Thanks!<br /><br /><i>"...why haven't you included parseInt() in the benchmark?"</i><br /><br />It didn't occur to me to. :-) parseInt, like Math, is a property of the global object, so we have the same scope resolution thing. Granted we skip the property lookup, and then we do the function call. But since the first step of parseInt is to turn its input into a T.J. Crowderhttps://www.blogger.com/profile/03619792122821936638noreply@blogger.comtag:blogger.com,1999:blog-542398624287876588.post-30392296256563346352012-07-07T15:23:25.587+01:002012-07-07T15:23:25.587+01:00Very nice.
Excuse my ignorance, but why haven'...Very nice.<br />Excuse my ignorance, but why haven't you included parseInt() in the benchmark?Petr 'PePa' Pavelhttps://www.blogger.com/profile/10288514154037030289noreply@blogger.com