Skip to content

Performance: Uses ReadOnlySpan - #131

Open
fdcastel wants to merge 5 commits into
cincuranet:masterfrom
fdcastel:performance-add-readonlyspan
Open

fdcastel wants to merge 5 commits into
cincuranet:masterfrom
fdcastel:performance-add-readonlyspan

Conversation

@fdcastel

Copy link
Copy Markdown
Contributor

Last piece of #122.

Based on #130 / 5561ec4 (needs XSQLDA changes).

⚠️ This one needs to drop support for net48 and netstandard2.0 since there is no ReadOnlySpan on them.

- Reduce memory allocations in MarshalManagedToNative.
- Convert XSQLDA / XSQLVAR (internals) to structs.
- Appends _STRUCT suffix to XSQLDA / XSQLVAR to make the conversion path easier (can be removed, later).
@cincuranet
cincuranet force-pushed the master branch 2 times, most recently from 2dc214c to e439935 Compare December 10, 2024 10:41
@cincuranet
cincuranet force-pushed the master branch 2 times, most recently from d944a22 to c6ff107 Compare November 22, 2025 13:49
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.

1 participant