-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Comparing changes
Open a pull request
base repository: JSQLParser/JSqlParser
base: master
head repository: JSQLParser/JSqlParser
compare: manticore
- 11 commits
- 11 files changed
- 1 contributor
Commits on Mar 28, 2026
-
Signed-off-by: manticore-projects <andreas@manticore-projects.com>
Configuration menu - View commit details
-
Copy full SHA for 4dad36d - Browse repository at this point
Copy the full SHA 4dad36dView commit details
Commits on Apr 2, 2026
-
Configuration menu - View commit details
-
Copy full SHA for ea2f431 - Browse repository at this point
Copy the full SHA ea2f431View commit details
Commits on Apr 8, 2026
-
Configuration menu - View commit details
-
Copy full SHA for d167471 - Browse repository at this point
Copy the full SHA d167471View commit details -
build: move to JavaCC-8.1.1 with better code for the Token Manager, a…
…voiding `code to large` and `cinit` problems. - revert the post-processing step Signed-off-by: manticore-projects <andreas@manticore-projects.com>
Configuration menu - View commit details
-
Copy full SHA for dc6e3e8 - Browse repository at this point
Copy the full SHA dc6e3e8View commit details
Commits on Apr 10, 2026
-
feat: Pratt 6.5 ms/ops with 14 failures
Signed-off-by: manticore-projects <andreas@manticore-projects.com>
Configuration menu - View commit details
-
Copy full SHA for 53ca038 - Browse repository at this point
Copy the full SHA 53ca038View commit details -
feat: Pratt 8.5 ms/ops without failures
Signed-off-by: manticore-projects <andreas@manticore-projects.com>
Configuration menu - View commit details
-
Copy full SHA for 365078d - Browse repository at this point
Copy the full SHA 365078dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d2ee4b - Browse repository at this point
Copy the full SHA 2d2ee4bView commit details -
perf: grammar tower + Pratt parser + LOOKAHEAD optimization (~15% spe…
…edup) Replace exponential-backtracking grammar with targeted optimizations: - Add prattArithRest() Java loop for arithmetic (eliminates AddChain/MulChain method calls) - Add prattExpressionRest() Java loop for boolean ops (eliminates XorExpression/AndChain) - Replace LOOKAHEAD(ParenthesedFromItem()) syntactic scan with O(1) isParenthesedFromItemAhead() predicate — this was the root cause: it speculatively re-ran the full expression tower for every "(" in every FROM clause - Gate LOOKAHEAD(5) UserVariable, LOOKAHEAD(2) NOT/PRIOR, LOOKAHEAD("(+)") Oracle join behind cheap token-kind checks so they don't scan on every expression - Fix ComparisonItem: replace LOOKAHEAD(3) SimpleExpression() syntactic scan with semantic predicates for AnyComparisonExpression and RowConstructor - Inline isComparisonOperatorAhead() into isConditionSuffixAhead() to eliminate redundant getToken(1) call on every parsed expression - Fix isNestedSetOperationAhead() to handle arbitrary nesting depth (((SELECT) UNION ...)) - Fix isParenthesedFromItemAhead() edge cases: ((SELECT) JOIN ...), VALUES, EXASOL IMPORT - Fix choice-conflict warnings in XorExpression/AndChain/MulChain/AddChain loops (outer LOOKAHEAD(2) grouping, {{ }} scoping for variable redefinition) - Restore all previously passing tests broken by the committed 6.5ms branch Result: 8ms → ~7ms on benchmark corpus Signed-off-by: manticore-projects <andreas@manticore-projects.com>Configuration menu - View commit details
-
Copy full SHA for 1b51f05 - Browse repository at this point
Copy the full SHA 1b51f05View commit details -
feat: Optimize SimpleCharStream for SQL parsing hot path
Pack separate bufline[] and bufcolumn[] arrays into a single long[] (line in upper 32 bits, column in lower 32), halving array writes in UpdateLineColumn which executes for every character read. Add fast path in UpdateLineColumn for printable ASCII (c >= ' ' with no pending newline), skipping the newline/tab switch statement for the 95%+ common case in SQL input. Mark readChar, UpdateLineColumn, BeginToken, and backup as final to enable JIT devirtualization and inlining. Change ExpandBuff from linear growth (+2048) to exponential (2x), reducing O(n^2) copying for large SQL statements. Remove the Throwable catch that discarded stack traces. Signed-off-by: manticore-projects <andreas@manticore-projects.com>
Configuration menu - View commit details
-
Copy full SHA for 17448bb - Browse repository at this point
Copy the full SHA 17448bbView commit details
Commits on Apr 11, 2026
-
feat: Add bytecode size verification tests for generated parser classes
Zero-dependency tests that scan compiled .class files and fail when any method approaches the JVM 64KB bytecode limit, catching the problem before ASM/JaCoCo instrumentation pushes it over the edge. BytecodeSizeVerifier: classfile parser reading Code attribute sizes directly (no ASM dependency). Works as both CLI tool and library. BytecodeSizeTest (JUnit 5): - clinitMustFitWithinInstrumentationSafeLimit: targets <clinit> with 20% headroom for instrumentation overhead - allMethodsMustFitWithinInstrumentationSafeLimit: scans all methods - criticalClassesMustBePresent: guards against silent test skip Prevents regression of: org.objectweb.asm.MethodTooLargeException: Method too large: net/sf/jsqlparser/parser/CCJSqlParserTokenManager.<clinit> ()V Signed-off-by: manticore-projects <andreas@manticore-projects.com>Configuration menu - View commit details
-
Copy full SHA for 9cfbe68 - Browse repository at this point
Copy the full SHA 9cfbe68View commit details -
Signed-off-by: manticore-projects <andreas@manticore-projects.com>
Configuration menu - View commit details
-
Copy full SHA for 65c30f0 - Browse repository at this point
Copy the full SHA 65c30f0View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...manticore