forked from microsoft/go-mssqldb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously processResponse function would be run as a go routine which in turn starts another go routine for processSingleResponse function. First layer of go routine was responsible for handling cancellation. While second layer was responsible for reading and parsing tokens from the response. In this version I replace first go routine with an iterator. New version runs slightly faster according to mssql_perf_test. This change addresses issue denisenkom#454
- Loading branch information
1 parent
2b7eb88
commit 162e654
Showing
8 changed files
with
313 additions
and
431 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
Oops, something went wrong.