3 ms·
>How shaving 0.001s from a function saved $400/mo on Amazon EC2 Without reading the article, I figured there was only one likely explanation—the function gets
by xiaoma 12y ago
>How shaving 0.001s from a function saved $400/mo on Amazon EC2
Without reading the article, I figured there was only one likely explanation—the function gets called a lot.
- mc_hammer 12y agoi figured the only likely explanation is ecs is overpriced, ;/
- diminish 12y agoAnd ruby, python, js could focus on optimizing some frequently used core class methods (strings, arrays) and it'll save the earth billions of dollars, will help the environment and some national economies.
- raverbashing 12y agoThey do, but of course, it also needs to be generic enough. But you can optimize their usage in your code. They probably could save that amount of money by maybe trying different machines/providers. I wonder what's the annual worldwide cost of parsing XML for example.
- waps 12y agoOr you can use C++ and not worry that your abstractions will cost you measurably in execution time. Of course, there's other disadvantages, but ...
- raverbashing 12y agoYeah... No thanks Unless it's for something very specific, of course.