Hacker News new | ask | show | jobs
by sandfox 4649 days ago
I know microbenchmarks are generally daft and horribly misapplied, but it might be worth showing/measuring the difference between using built-in procedural methods and your OO ones on some some example use cases to stop people speculating and just to make sure you aren't majorly shooting yourself in the foot perfomance wise for the benefit of a nice API.

All that aside, kudos!

1 comments

Funny you mention that, just started working on something now. It's slow, I'll tell you that much. Noticeably slow? Not so sure.
Show us the numbers.

I'd expect an order of magnitude slower for most of string and number operations.

So your code is 45.7 times slower.

HAHAHAHA.