Hacker News new | ask | show | jobs
by fulafel 3025 days ago
So what's the explanation for the 20x difference? Is the JS implementation untuned?

edit: seems the JS is written in the straightforward, idiomatic JS way without employing speed hacks or typed arrays. So that I guess explains some of it.

1 comments

You tell me, https://github.com/DanRuta/jsNet/tree/master/dev/js

Ran in Chrome profiler, spent most time in these forward/backward functions https://github.com/DanRuta/jsNet/blob/master/dev/js/ConvLaye...