-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Reduce lock cost in AsciiInfo updates (#12363)
Summary: In some cases (e.g. row-wise deserialization) we need to resize the string vector frequently. In that case none of the ASCII info is valid, but we still pay the price to lock and check the state. Fix the cost by using an atomic boolean for fast path check. Differential Revision: D69750090
- Loading branch information
1 parent
80add21
commit 7b5b4d5
Showing
1 changed file
with
51 additions
and
20 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