This Walmart vs Costco nonsense has got to stop. They serve completely different segments of the market. I won't bother rehashing here what others have argued much better (and with data to back it up). Just go read this and stop making the comparison already:
http://www.bloomberg.com/news/2013-08-27/why-walmart-will-ne...
(This article was also posted on HN a couple weeks back)