My problem is i'm scanning a barcode in and was originally comparing the string to all my other part types to determine what this part type is,
this seems to be a waste of time as there are over 35 strings to compare. Is it best to keep it as is or just add the bytes together to get a sum of the string and tell the machine it is a certain part type.
Any input on this greatly appreciated
this seems to be a waste of time as there are over 35 strings to compare. Is it best to keep it as is or just add the bytes together to get a sum of the string and tell the machine it is a certain part type.
Any input on this greatly appreciated