News for hackers. Stuff that matters.
Re:Making a Go program 70% faster by avoiding common mistakes by unfunco on Thursday March 17, 2016 @09:27AM (#11304161)
I'm not sure if Go optimises your condition, but you're calling strings.ToLower(trade.TransactionType) twice, you could memoize the result of that operation and possibly squeeze a little more performance out of the impact function.

There are no comments on this comment yet.