Deque collection class

Deque collection class

Deque collection class Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Other Free / Open Source License - Python License
  • Databases: N/A
  • Downloads: 324
  • Released: Feb 15, 2007

Deque collection class Description

This script is a pure python drop in replacement for collections.deque(). It uses a dictionary as the underlying data structure for the deque (pronounced "deck", short for "double-ended queue", a generalization of stacks and queues) which provides O(1) performance for appends and pops from either end. 
 

Deque collection class Bookmark

Hyperlink code:
Hyperlink for Forum code:

Deque collection class Script Download Notice

Top 4 Download periodically updates information of Deque collection class script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Deque collection class torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

Bag collection class

Bag collection class script implements Smalltalk's bag class. ...
Python

Quick and easy FIFO queue class

Quick and easy FIFO queue class is an easy First-In-First-Out queue class based on Python's List data structure. ...
Python

Two pass Pairing Heap with Auxiliary List

This script allows you to manage data collections.For random data, this implementation still makes more comparisons than a ... heapq or the builtin sort. For partially ordered data, it can perform better than the builtin sort. Because of the list of lists data structure, it always takes more memory than either heapq ...
Python

A queue for string data

This script is a queue data structure, for string data only, which looks like a File object. This class takes care of the list.append and .join mess, which is ...
Python

An interval mapping data structure

... kind of dictionary which allows you to map data intervals to values. You can then query the ... unit a date-time object is used. the testThis class uses bisect to ensure a O(log2 n) insert and lookup time. The insert algorithm tries to do "the right thing" when overlapping intervals are ...
Python