I've done both as a means to relax at the end of a day or week. Both will affect your sleep (higher RHR and lower HRV) despite helping you fall asleep. I've found that low doses of either (under 2 beers, lower abv) under 5mg of THC do not adversely affect. Higher doses of alcohol is far worse than a lot of weed. Edible or smoked.