Hi,

if the array-indices won't go too big, you could join the tuple the
following way:

First Index * 10
+
Second Index * 1

Sample:

0,3    => 0*10 + 3 =    3
1,1    => 1*10 + 1 =11
1,2    => 1*10 + 2 =12
2,1    => 2*10 +1 =21

in this solution your indices must be kept in the range 0..9.
Its easy to extend to indices from 0..99:

12,42    => 12*100 + 43    =1243
1,20    => 1*100 + 20        =120

Maybe this helps...

Rob




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Hydrogen-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to