Skip to content

Microsoft.Data.Sqlite: Use Span overload of sqlite3_prepare_v2 #16202

Closed

Description

This will avoid unnecessary UTF-8 conversions and copying on commands with multiple statements (aka batches).

I took a stab at this while updating SQLitePCL.raw to 2.0.0, but hit the compiler error "ReadOnlySpan<byte> cannot be used inside iteration blocks" 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions