Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow assert to be optimized #71
If you run hoek with --trace_opt you can see that the exports.assert isn't optimized because it calls slice on arguments:
After changing this to manually populate msgs from the arguments the function can be optimized by the optimizing compiler.