
As a piece of code from the data in the table should be added to a dictionary, and then the parameter code as the key to value rate.
Every call a function, it is repeated to generate a dictionary, efficiency must be not beautiful, I hope it generates action performs a dictionary, and then each access just number from the dictionary,
How can I do? thank you