I bet not consuming refined sugar would help, but there's no way it would help more than not consuming marijuana.
At least for certain subjects. If you're doing fine arts then getting high is almost mandatory. If you're studying math or anything that uses math then getting high regularly will significantly degrade your performance.