hmmph, well it seems as if its noticeably faster, but still really slow - slow as in i can refresh my table over and over again and watch the values fill up lol.....
ill explain the whole process.....
inside this foreach loop are a couple other things....
theres a column of hex values that all get converted to binary then split into 5 different parts......a 20-bit string (the end), and 4 separate 3-bit sets (the first 12 bits). these are all used with different masks to determine different aspects of the data.
(if you're wondering, i'm working on making a list of stars in order to apply some very particular criteria for culling from a huge database)
so now, when you saw my code back there - the iteration has to decode those 4 different 3-bit sets, check them against what i store in the array for their text equivalent values, then populate the empty columns in the table with that text.
i'm not sure what part takes so long - i'm almost certain its not the conversion. i have a standby piece of code that prints results to html so i can view how its working out without having to deal with a sql table all the time. i could run that code without a problem normally, filling 20,000 html tables in under 20 seconds with all this data. it seems like its a problem in transit. i will try more testing.