Hi jaryszek,
i love difficult topics so i did research and find great solution for you, try to use hash codes,
try this code to convert string to hashcode:
So you can convert your each field in every row to hash code (using loop and arrays for examples), and after that joined all fields together in order to get key.
Of course if you will use too small amount of signs there is a probability to get "collision" but using SHA1 + Base64 hash code (my favorite one) and keeping about 10 signs for field you are almost sure that your data will work without any issues and collision thing. Tested on 10 thousends rows.
I do not think that there is other solution, maybe other people can help, but try mine ;-)
Paul Ant
Bookmarks