In both.
Hydroponics systems, if properly set up and utilised are capable of constantly feeding and highly aerating roots of growing plants. This causes a faster growth rate.
Despite this, in my opinion, Hydroponics produce an inferior quality bud to those grown in soil. The natural components found in dirt are known to improve aromas and taste of plants.