You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this time, the statements enum is massive and includes all SQL statements. What if we were to create sub-enum categories, such as DML, DDL DQL, DCL, TCL, SCL, PSM and so on?
This would clearly break APIs, but it would make much more manageable to work with statements, expecially in the cases where only a subset of the statements are desidered.
i believe your suggestion could lead to reducing the size of the Statement (it's about 2kb right now :/) (in a proof-of-concept session i managed to bring it down to approx 1kb by using Boxes on various variants and this got reflected in the micro-benchmarks up to a ~9% improvement.)
Activity
xitep commentedon Feb 15, 2026
i believe your suggestion could lead to reducing the size of the
Statement(it's about 2kb right now :/) (in a proof-of-concept session i managed to bring it down to approx 1kb by usingBoxes on various variants and this got reflected in the micro-benchmarks up to a ~9% improvement.)