Re:MySQL is bazillion times faster than MemSQL
by nikita on Tuesday June 26, 2012 @04:58PM
(#4164086)
Not every parsing is equal. MySQL and other databases produce a tree as they parse a query. If you just want to match parameters you can avoid memory allocations and just replace parameters with ^ or @ signed in place in the query string.
http://developers.memsql.com/docs/1b/faq.html gives some more details.