Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SmallVec #59

Merged
merged 4 commits into from
Jul 20, 2024
Merged

Remove SmallVec #59

merged 4 commits into from
Jul 20, 2024

Conversation

gwenn
Copy link
Owner

@gwenn gwenn commented Jul 20, 2024

Fix warnings and test errors of #57

pereman2 and others added 4 commits July 16, 2024 10:58
This move creates a huge different in Parser::new, and when I say, huge
I say 1444%. SmallVec triggers too many memmoves.

```bash
     Running benches/sqlparser_bench.rs (target/release/deps/sqlparser_bench-90367034c12b9cef)
sqlparser-rs parsing benchmark/sqlparser::select
                        time:   [257.62 ns 258.12 ns 258.69 ns]

sqlparser-rs parsing benchmark/sqlparser::select
                        time:   [3.9573 µs 3.9604 µs 3.9654 µs]
                        change: [+1443.7% +1449.0% +1453.8%] (p = 0.00 < 0.05)
                        Performance has regressed.
```

Signed-off-by: Pere Diaz Bou <[email protected]>
Signed-off-by: Pere Diaz Bou <[email protected]>
@gwenn gwenn merged commit 5bf0aa7 into master Jul 20, 2024
2 checks passed
@gwenn gwenn deleted the ector-perf-improv branch July 20, 2024 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants