Paoletti Vincenzo wrote:
Quote:
the ref manual advices against uses it of "lookup_by_name" to cause its inefficiency . |
lookup_by_name() is inefficient because it's built on field_num().
If efficiency is a concern, you shouldn't be looking up fields by name
at all. You should be using hard-coded indices into a Row array, or
SSQLS instead.
I've sent this to the mailing list, because the discussion should have
been kept there, and it's good info for the archives.
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw