I was reading this article on one-hot encoding. It says:
... it works very well unless your categorical variable takes on a large number of values (i.e.