Thread: [Help] Error
View Single Post
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 10-15-2015 , 13:33   Re: [Help] Error
Reply With Quote #6

You can use Tries/Hashmap instead of arrays to store the "index" and "url" when loading KV. Then you can search the Hashmap using the index as lookup.

Or

When you created the spray, create a DataPack that stores index and url. Then you can compare the index and extract the url later.

I think 1st method might be easier to work with.
__________________

Last edited by Chaosxk; 10-15-2015 at 13:33.
Chaosxk is offline