Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Your Perl implementation is almost as fast as c++? Something weird is going on here. Maybe you are bottlenecked on disk read speeds or something.


Why is that surprising? The perl interpreter is fast and dispatches just about everything to heavily optimized C. Just like python does, it is only better at it.

This is the kind of thing where perl really shines.


This is what perl was made for and it is good at it. I was going to be very suspicious if Python or Ruby ended up faster. On this chart it it the fact that the simple C++ is so slow that is interesting.


Not really surprising. Perl approaches a domain specific language for text processing with a heavily-optimized 34 year old implementation.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: