poggit / libasynql

Asynchronous MySQL access library for PocketMine plugins.
https://poggit.github.io/libasynql
Apache License 2.0
132 stars 44 forks source link

Leverage query preparation #58

Open SOF3 opened 3 years ago

SOF3 commented 3 years ago

Queries that do not change dynamically (basically all queries without list: parameters) can be prepared into a mysqli_stmt/Sqlite3Stmt in advance. This reduces the CPU load and roundtrip time.