I\'ve been profiling an application all day long and, having optimized a couple bits of code, I\'m left with this on my todo list. It\'s the activation function for a neural
Idea: Perhaps you can make a (large) lookup table with the values pre-calculated?