collections

collections

Collections with no dependencies: lists, maps, queues, a summary tree, channels, lazy operations and dependency graphs.

Press a key. Watch the oldest one leave.

This is lruCache from the package, running in this page. A full cache drops the key that waited longest.

    NewestLeaves next

    Press a key to read it.

    Hits 0 Misses 0 Size 3

    Install

    pnpm add @mark1russell7/collections

    This package has no release on npm yet. Releases shows each version, and Status shows the open work.

    Change a list. Keep each old version.

    This is summaryTree. Press a bar to change it. Each edit gives a new tree, and each old tree stays whole. Go back and edit from there.

    Sum 0 Largest 0 Leaves 0

    Tasks that wait for each other.

    This is buildLeveledDAG and executeDAG from the entry ./dag. Select a task, change what it needs, then run the graph.

      build needs:

      At a time 2

      Press Run to start the tasks.