Joined: Feb 2017
Posts: 143
Likes Received: 2
Does having www ranks better? I mean against a sites that doesn't have such as <!-- m --><a class="postlink" href="http://mysite.com">http://mysite.com</a><!-- m -->
Joined: Sep 2013
Posts: 999
Likes Received: 57
It doesn't matter. You can rank for both them good.
Joined: Mar 2017
Posts: 175
Likes Received: 0
The www is just a subdomain of the main domain and Google considers subdomains and sub-directories equal (i.e. part of the same website, not special in any way).
You do need to pick one versus the other, though, as using both will cause you SEO problems. Since <!-- m --><a class="postlink" href="http://www.domain.com">http://www.domain.com</a><!-- m --> is a different URL then domain.com you can run into duplicate content penalties since you can pull the same information up using two URLs.