3 ms·
There's space for evil. MySQL, C#. I have a rather nasty query, two of the fields in it are actually arrays and have their own tables, in most cases all the c
by LorenPechtel 1y ago
There's space for evil.
MySQL, C#. I have a rather nasty query, two of the fields in it are actually arrays and have their own tables, in most cases all the children must be read. Strange, my code takes a lot longer to execute the child-reading portion than the console does. Profiler time....the hot spot is the routine (in the library, not my code) that returns the value of the named field! Rewrote the big reads to translate the column names to indexes, then use those to read the fields. I've forgotten just how big the speedup was but that lookup was using the majority of the time of the whole routine.