The ancient Indian Carnatic Music system uses a Hashing algorithm similar to the ones used by modern search engines. The katapayadi hashing algorithm is used to map raga names to raga numbers.
Hashing Algorithm in Ancient Indian Music System
read more