No such thing as a small change | |
PerlMonks |
Re^2: In search of an efficient query abstractorby xaprb (Scribe) |
on Dec 07, 2008 at 20:28 UTC ( [id://728776]=note: print w/replies, xml ) | Need Help?? |
I should explain a little extra subtlety here. Suppose I have an SQL statement of the form
Now assume there are a million sets of values there. I want them all mushed down to a single "values(N, N, N)". This happens to me all the time in the real world. How fast is this going to be? And then, when the parser is done with it, I still have to reassemble the thing into a fingerprint of the query... which will be a lot of special-case code. MySQL's grammar is nontrivial. So I don't think this will be a fast or easy way to do what I want, although I appreciate the idea.
In Section
Seekers of Perl Wisdom
|
|