Black Lives Matter. Please consider donating to Black Girls Code today.

Dropdown performance issue

Hi, I created a dropdown and it works well when I use around 10k values. When I put around 30k values the loading of the page is slow but once the page is loaded all is fine. Is there a way to speed up the initial loading of the dropdown?
Thanks.