I tried to implement a searching system for large dataset(5 million). First, I made a basic function to find specific information in the user list. Then, I created a trie data structure for the same task.
Regular search: 42.041 milliseconds
Trie-based search: 0.211 milliseconds