Tk Library Source Code

View Ticket
Login
Ticket UUID: 607085
Title: priority queue
Type: Patch Version: None
Submitter: mic42 Created on: 2002-09-10 01:50:56
Subsystem: struct Assigned To: andreas_kupries
Priority: 8 Severity:
Status: Closed Last Modified: 2003-04-16 05:02:20
Resolution: Accepted Closed By: andreas_kupries
    Closed on: 2003-04-15 22:02:20
Description:
Hi, simple priority queue implementation.

Not perfect and missing docs (and more tests, as always).
User Comments: andreas_kupries added on 2003-04-16 05:02:20:
Logged In: YES 
user_id=75003

Committed to head.

dgp added on 2003-04-14 06:31:51:
Logged In: YES 
user_id=80530

note that the struct package
already enforces a
Tcl 8.2 requirement.

mic42 added on 2003-04-12 23:38:41:
Logged In: YES 
user_id=302287

Ignore the package require 8.3, should be 8.2. (using lsort
with -integer etc. options and string equal).

Could write docs, but what format?

mic42 added on 2003-04-12 23:29:48:

File Added - 47547: prioqueue.test

Logged In: YES 
user_id=302287

I have made some improvements (some more tests, better
argument checking, use of DKF's K combinator where
appropriate, addition of package require Tcl 8.3, name
change of toppriority to peekpriority).

mic42 added on 2003-04-12 23:27:33:

File Added - 47546: prioqueue.tcl

mic42 added on 2002-09-10 08:51:47:

File Added - 30780: prioqueue.test

mic42 added on 2002-09-10 08:50:56:

File Added - 30779: prioqueue.tcl

Attachments: