3 ms·
Yes, it is a quite fast for a managed language. For comparison, python is roughly 10x slower than it.
by kaba0 5y ago
Yes, it is a quite fast for a managed language. For comparison, python is roughly 10x slower than it.
- asiachick 5y agoIt's interesting to see where they fail. I tried to parse the stackoverflow database (XML) using node. It was so slow as to be unusable (multiple hours). I did the same in python and it took minutes. Now of course I'm comparing libraries basically and I have no idea how poorly the node library was implemented but I'd be super curious to know if the this is something python excels as because of language features or if it's just poorly implemented libraries in node that make the difference.
- hajile 5y agoI'd bet it's because the Python library is actually just a thin wrapper around a C library. You can do that in node too via NAPI or you could compile to wasm and run there instead.