All that matters is absorbing it into the system.
Heating to a smoke or vapour that can be inhaled gets it in quicker than eating.
Most quality edibles have had the THC extracted and turned into a butter.
You can eat the plant whole and get just as high, but it wouldn't taste good and the THC would not be delivered efficiently.