Posts: 410
Threads: 88
Joined: Oct 2008
Reputation:
0
I actually don't see the point of making the functions similar to SQLite functions...
I think you should keep the beta 1 syntax, or a more common one anyway.
Posts: 410
Threads: 88
Joined: Oct 2008
Reputation:
0
Why would you want to port SQLite to MySQL?
Anyway, perhaps make macros for that?
Posts: 2,938
Threads: 162
Joined: May 2010
So you made all yours functions without the row functionality and used strings (columns / field names) only and its faster? I thought using row indexes would've been faster.. Idk just asking
Posts: 2,334
Threads: 62
Joined: Dec 2009
Reputation:
0
@Y_Less Even he is still developing a new MySQL plugin, why you guys are going against him? Users can still using BlueG's plugin as well as StrickenKid's one. You are not going to waste your time on testing but just him. So LOL.
P.S Dan is right somehow, for example BlueG's plugin is bugged and crashes for no reason sometimes..
Posts: 966
Threads: 5
Joined: Jul 2011
Reputation:
0
I don't see the code he used for testing anywhere, so cannot exactly say about the speed difference.
But well, I was just thinking, there are some spots you could address, such as why do you load the callback/format parameter data if you're not sure in the first place what sort of a query you're about to handle (some queries would not even require to allocate memory for these strings or pass them on to containers).
(By the way I got a plugin of my own released a bit hidden somewhere on my server's site... only the necessary stuff and adequate speed results... no idea why I'm saying this though)
edit 2: and yes, iterating through a set of strings and comparing them (although depending on the system architecture the comparisons can be very fast as well) will always be slower than accessing the row by its index.
Posts: 61
Threads: 3
Joined: Apr 2013
Reputation:
0
All MySQL functions are the same of BlueG's plugin in this one? Or.. Those defined on your own?
Posts: 61
Threads: 3
Joined: Apr 2013
Reputation:
0
If you want almost all the natives to be related with SQLite, why can't you make a SQLite plugin?
Posts: 2,187
Threads: 81
Joined: Aug 2011
Reputation:
0
I checked out the natives, and they are almost the same as BlueG's plugin ! Personally, it doesn't matter TO ME if it's 94ms or 80ms, it's just MS. (My opinion, so spare me the 'milliseconds are important in computers, etc' talk.)
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
One execution that takes 10 MS isn't a problem no - it's when you have many of them.
Posts: 30
Threads: 3
Joined: May 2008
Reputation:
0
I'll test and use it. Thank you for your MySQL Plugins.
I like to write MySQL Function this style.
Posts: 30
Threads: 3
Joined: May 2008
Reputation:
0
Can I stop mysql_log.txt ?