Original Post
What I look for is a way to take a string and use all or some of the string to get a unique ID for that string, and possibly reconstruct part of the sting from that number? This is for parsing. I figure it would be faster to compare numbers than strings. Internally using numbers for symbols and keywords. Since I want to write an assembler, an example: mov m = 109 o = 111 v = 118 Those are base 10 values. Now what could I do with those numbers make a unique number that no other string could generate? The only things I can really consider is value and position in the string. I'd prefer it fir in 32-bits. It might not even be possible. Thanks for any ideas.