forked from pytorch/data
-
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.
Update Prefetcher buffer to use deque (pytorch#842)
Summary: Pull Request resolved: pytorch#842 This was one of the TODOs in Prefetcher. It makes the implementation cleaner, marginally faster (but not enough to make a significant difference). Test Plan: Imported from OSS Reviewed By: VitalyFedyunin Differential Revision: D40517618 Pulled By: NivekT fbshipit-source-id: a199c06b060a83e087a3cac17ec57c87a7127c40
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 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