-
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: Pull Request resolved: #12363 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. Reviewed By: kevinwilfong Differential Revision: D69750090 fbshipit-source-id: c930fb10ed0c2a38fcbd1bb9a55bde39fe65cbfe
- Loading branch information
1 parent
027452c
commit 381dfcd
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