-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimize: use LuaJIT v2.1's new table.new API to optimize Lua table a…
…llocations. when table.new is missing, just fall back to the good old "{}". this gives 12% overall speedup for a typical result set with 500 rows. feature: added an optional new argument "est_rows" to the query() and read_result() methods.
- Loading branch information
Showing
1 changed file
with
23 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters