Jump to content

Map/Dictionary/HashTable - which hash algorithm is used?


 Share

Recommended Posts

19 minutes ago, AspirinJunkie said:

I do not have the standard here but I firmly assume yes.

Yes, they seem to be in the major db vendors.  
But wait a sec, where are the prepared statements with replaceable parameters in SQLite/Autoit?

Like 

INSERT INTO table VALUES (?,?,?,?)

If every single statement sent thru autoit has to be prepared over and over again, that’s likely the reason for a big part of the gain from the chained insert scenario, do you agree?

Code hard, but don’t hard code...

Link to comment
Share on other sites

Agree with @AspirinJunkie about both journalling being a fileDB thing and insert with multiple values (what I call "chained inserts") being mainstream. No RDBMS engine implements anything close to 95% of any recent SQL "standard". SQLite tends to favor features of PostgreSQL when they have similar counterparts in some other major RDBMSs. Of course its lite suffix limits what can be made part of the core but, as it stands today, SQLite is quite useable for a very large range of use cases.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

51 minutes ago, JockoDundee said:

But wait a sec, where are the prepared statements with replaceable parameters in SQLite/Autoit?

In this case, you prepare the statement only once, {bind all parameters to your values and issue *_Step} (repeat {} ad nauseam) and finilize the statement.

I've long ago posted an example for bound parameters in SQLite, but due to the overhead incurred by invoking DllCall many times, it's almost always much slower than using _SQLite_Exec. In a C program (say) prepare is the major cycles sinkhole; in AutoIt it's DllCall.

EDIT: I found where I posted binding code for AutoIt SQLite, it's there

 

Edited by jchd

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...