This is HIGHLY database dependent.
For instance, on Postgresql, the fastest method is to use text type, not char or varchar, and it's the type that the docs recommend you use when you can.
For other databases, each will have speed advantages or disadvantages based on how the internals of the dbms are written.