SQLite

All files named ”tool/mkopcodeh.tcl”
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for tool/mkopcodeh.tcl

2024-03-08
15:39
[2b4e6967a6] part of check-in [166d1e5d26] Add new assert() statements, which if they had existed three years ago, would have detected the code generator problem fixed by the previous check-in. (check-in: [166d1e5d26] user: drh branch: trunk, size: 9378)
2022-12-06
18:48
[769d9e6a8b] part of check-in [9499b2f51e] Have sqlite3_stmt_scanstatus_v2() return an NCYCLE value for all loops, not just virtual tables ones. The value returned is the sum of the NCYCLE counts for the various opcodes that move or read data from the table or index cursor associated with the loop. (check-in: [9499b2f51e] user: dan branch: trunk, size: 9087)
2022-07-01
19:42
[bcb2bd5aff] part of check-in [bb179140c8] Performance improvement in resolveP2Values(). Save over 1 million CPU cycles by omitting the loop termination condition and exiting when the OP_Init (always the first opcode in any VDBE program) is encountered. (check-in: [bb179140c8] user: drh branch: trunk, size: 8890)
2022-02-24
14:44
[5dab48c49a] part of check-in [9d13cbbef3] Change the OP_Next and OP_Prev opcodes so that they invoke sqlite3BtreeNext() and sqlite3BtreePrevious() directly rather than through a function pointer, for improved performance and a decrease in code size. (check-in: [9d13cbbef3] user: drh branch: trunk, size: 8880)
2021-06-01
21:07
[130b88697d] part of check-in [a8d921136f] Fix issue in 'mkopcodeh.tcl' tool that prevented its termination in rare circumstances. (check-in: [a8d921136f] user: mistachkin branch: trunk, size: 8916)
2021-05-18
12:36
[acc798757e] part of check-in [f2a17f1fad] Improved comments on the generated opcodes.h file. (check-in: [f2a17f1fad] user: drh branch: trunk, size: 8915)
2018-07-25
15:12
[352a4319c0] part of check-in [6ee2950b27] Keep generated opcode values grouped together when required, even when they do not correspond to a token. (check-in: [6ee2950b27] user: mistachkin branch: trunk, size: 8793)
2018-05-28
17:31
[17d1ccc05a] part of check-in [5a4542dbcf] When compiling with SQLITE_DEBUG, add run-time checks to ensure that no statement aborts unless either there have been no writes or else there is a statement journal. (check-in: [5a4542dbcf] user: drh branch: stmt-journal-testing, size: 7549)
2017-08-02
03:21
[4ee2a30ccb] part of check-in [eef643a369] Show which opcodes are jumps in the comments when generating the opcodes.h header file. (check-in: [eef643a369] user: drh branch: trunk, size: 7469)
2017-07-14
17:50
[bb04ab6e5e] part of check-in [1eb56fe030] Modify mkopcodeh.tcl so that it can handle "same as" opcodes with values larger than the total number of opcodes. (check-in: [1eb56fe030] user: dan branch: trunk, size: 7482)
2016-04-11
16:35
[a01d2c1d8a] part of check-in [e554a4c38b] Rename the OP_MX_JUMP macro to SQLITE_MX_JUMP_OPCODE to avoid confusing the opcode name generator. (check-in: [e554a4c38b] user: drh branch: trunk, size: 7261)
13:36
[3b1ee0fd24] part of check-in [099478fa75] Remove the VdbeOp.opflags field and its associated initialization overhead. Update mkopcodeh.tcl to reorder opcode numbers to help the resolveP2Values() routine run faster. (check-in: [099478fa75] user: drh branch: trunk, size: 7250)
2016-02-01
17:20
[385c62d78c] part of check-in [4c9222f75b] Number VDBE opcodes starting with 0 instead of 1, as this obviates the lower-bound test on "switch(opcode){...}", making the code smaller and faster. (check-in: [4c9222f75b] user: drh branch: trunk, size: 6414)
2015-10-16
03:34
[726340f306] part of check-in [08e8f04d12] Whenever two or more OP_Column opcodes on the same cursor occur in succession, try to reordering them so that the one that extracts the right-most column is first, so that it will warm up the row cache for all those that follow. This gives a small performance boost. (check-in: [08e8f04d12] user: drh branch: reorder-column-opcodes, size: 6697)
2015-10-07
02:52
Added: [e041770315] part of check-in [ed0ebc460b] Change mkopcodeh.awk into tool/mkopcodeh.tcl. (check-in: [ed0ebc460b] user: drh branch: omit-awk, size: 6629)