Script Library: 1223 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 
tag index: t · tested-under

2 scripts tagged as: [tested-under  ·  view1.3.2onwinxpbygregg]

Insert - Most Recently Used list idiom
insert-mru.rv:0.0.1
1.2 KB
30 Apr 2007
Insert an item in a series, where the series is treated as an MRU list. That is, the newest item is at the head, there are no duplicates (inserting a value removes the previous instance of that value if it exists), and the series may be limited to a specific size. If a new item causes the series to grow beyond that size, the [...]
author: Gregg Irwin
Priority Queue
priority-queue.rv:0.0.1
1.8 KB
30 Apr 2007
Provides functions, and an object def that uses them, to treat a series as a priority queue. When you insert items, you give them a priority (higher numbers mean a higher priority). In the actual series, the priority is stored along with the value, so you should always use the pq* functions to access them, to make things easier. [...]
author: Gregg Irwin