-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-41349: [C#] Optimize DecimalUtility.GetBytes(SqlDecimal) on .NET 7+ (
#42150) ### What changes are included in this PR? Adds code to avoid an allocation when converting from SqlDecimal to Decimal128. Adds a .NET 8 target to Apache.Arrow.csproj to enable the optimization. Makes a small source change to build successfully with latest C# version. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. Closes #41349 * GitHub Issue: #41349 Authored-by: Curt Hagenlocher <[email protected]> Signed-off-by: Curt Hagenlocher <[email protected]>
- Loading branch information
1 parent
3333648
commit a7a46b2
Showing
3 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters