Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
fd0e494c
Commit
fd0e494c
authored
Feb 09, 2004
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor edits
parent
8178a22e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
Doc/whatsnew/whatsnew24.tex
Doc/whatsnew/whatsnew24.tex
+7
-6
No files found.
Doc/whatsnew/whatsnew24.tex
View file @
fd0e494c
...
...
@@ -322,10 +322,11 @@ euc-jisx0213, iso-2022-jp, iso-2022-jp-1, iso-2022-jp-2,
\item
Korean: cp949, euc-kr, johab, iso-2022-kr
\end{itemize}
\item
There is a new
\module
{
collections
}
module which currently offers
just one new datatype,
\class
{
deque
}
, which offers high-performance,
thread-safe, memory friendly appends and pops on either side of the
deque resulting in efficient stacks and queues:
\item
There is a new
\module
{
collections
}
module for
various specialized collection datatypes.
Currently it contains just one type,
\class
{
deque
}
,
a double-ended queue that supports efficiently adding and removing
elements from either end.
\begin{verbatim}
>>> from collections import deque
...
...
@@ -344,12 +345,12 @@ deque(['f', 'g', 'h', 'i', 'j'])
True
\end{verbatim}
Several modules now take advantage of
\class
{
collections.deque
()
}
for
Several modules now take advantage of
\class
{
collections.deque
}
for
improved performance:
\module
{
Queue
}
,
\module
{
mutex
}
,
\module
{
shlex
}
\module
{
threading
}
, and
\module
{
pydoc
}
.
\item
The
\module
{
heapq
}
module has been converted to C. The resulting
ten
-
fold improvement in speed makes the module suitable for handling
tenfold improvement in speed makes the module suitable for handling
high volumes of data.
\item
The
\module
{
imaplib
}
module now supports IMAP's THREAD command.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment