This page is a NO-INDEX summary of comments posted in this blog.
Total 30 Comments (2/2 Pages) - Newer Comments -
26. 2015-03-03 10:26:45 ACMer Comments on Simple C++ Coding Exercise - Use Lookup Table to Eliminate the Condition Checks:
Lookup Table is frequently used.
27. 2014-11-11 16:43:35 ACMer Comments on Using Faster Exponential Approximation:
I think I used codeblocks with gcc compiler...
28. 2014-11-11 16:14:12 Juan L. Comments on Using Faster Exponential Approximation:
I did some tests of these functions, however the do not seem to be much faster than the exp function from the library. I tested 70 million calls to each one of the functions and t yielded the next results
library time
time 2.21931
e2 time
time 2.06819
e1 time
time 1.65665
I can see at most a two times increase in performance, how did you tested that it was 300 times faster ?
29. 2013-12-22 17:02:22 code Comments on Put the Most-likely If-checks in the Front:
it depends on the compiler optimisation. but putting the most-important if at the beginning doesn't hurt!
30. 2013-12-22 16:29:02 Fernando B Comments on Put the Most-likely If-checks in the Front:
I liked very much this article, but I have to disagree about the switch order, that most of time uses value-tables (array like), not multiple IFs.
Newer Comments -
–EOF (Coding For Speed) —
GD Star Rating
loading...
59 words
loading...