2014-08-01から1ヶ月間の記事一覧

JavaScript performance technique experiment 2

calling a bound function and bind() itself is slow test code. I ran it on Windows chrome. /* the prototype to compare with */ function A() { this.val = 1; }; A.prototype.func = function() { return this.val; }; /* B is callee and C is calle…

JavaScript performance technique experiment

Introduction I've been developing some JavaScript applications. Lately I faced with the performance problem. So, I began to read "High Performance JavaScript" and some useful websites, and decided to optimize the code with some JavaScript …

I'm implementing a NES emulator with JavaScript

I've been implementing a NES(Famicom in JP) emulator with JavaScript. Finally I achieved to display a pic after boot up. It stops after display the pic, but prolly you can actually play games on it soon.The code and the demonstration is he…