Yes it will be better as a sub-domain will be treated separately. Where is the forum currently located though, on a sub domain? If so make sure you keep the old URLs active with canonical tags or redirects to the new locations so that users and bots get pushed over.
The downside is that if your forum is likely to be penalised for spam, then it will start to effect the ranking of your whole site rather than just the subdomain.