I'm about to start writing a genetic algorithm program which will be able to find the highest/lowest/whatever else values of variables required for an equation, and have come upon a point about which I am uncertain. I do not know whether I should store and work upon the values as binary or decimal. If, for example, I had 10 variables of a value between 0 and 31, would it be better to store this as 50 individual alleles (1 bit per allele) or 10 alleles (5 bits per allele)?