Given the current experimental nature of Ethereum, I'd advise for turning of the optimiser by default, or at least to implement a way to config it in truffle.js
Hi @Bunjin, thanks for submitting this PR and bringing it to our attention! There were a bunch of other required changes in this, so the optimizer was disabled in another effort. Closing this now.
The optimiser of solc compiler has been the source of several rather serious bugs: e.g. https://www.reddit.com/r/ethereum/comments/5fvpjq/psa_beware_of_buggy_solidity_version/
Given the current experimental nature of Ethereum, I'd advise for turning of the optimiser by default, or at least to implement a way to config it in truffle.js
This PR turns off the optimiser by default.