In theory, neither process is faster than the other because your gains in size and weight come from the number of calories you're consuming. However, it is usually easier to hit these caloric targets during a dirty bulk, as you are less restricted in what you can eat. This can mean that you'll gain weight faster through dirty bulking, though some of that weight will be fat, rather than muscle.