FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-43785: Improve BZ2File performance by methane · Pull Request #25299 · python/cpython · GitHub

Repository navigation

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
Prev Previous commit
Next Next commit
minor ReST edits in NEWS
  • Loading branch information
gpshead authored Apr 11, 2021
commit 107f02df2bfff1dd45696b35e78bc40d62cbc9cb
This file contains hidden or 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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Improve ``bz2.BZ2File`` performance by removing the `RLock` from `BZ2File`.
This makes `BZ2File` thread unsafe in the face of multiple simultaneous
readers or writers, just like the equivalent classes in :mod:`gzip` and
Improve ``bz2.BZ2File`` performance by removing the RLock from BZ2File.
This makes BZ2File thread unsafe in the face of multiple simultaneous
readers or writers, just like its equivalent classes in :mod:`gzip` and
:mod:`lzma` have always been. Adds a ``BZ2File.__iter__()`` method to
delegate to the internal buffer's ``__iter__`` method. It is much faster
than calling ``BZ2File.readline()`` for each lines. Patch by Inada Naoki.

Back | FazBrowse Home | New Git URL