Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

Allow more flexibility in job priorities for scheduling #24

Description

@Ratfink

Our current representation of priority for a job is, effectively, a time instant.

This works well enough for many scheduling algorithms, but in some cases is insufficient. Notably, it prevents the release! function from specifying anything about how priority ties are broken.

On the overly-flexible end, we could change the priority type to Any. This would allow types such as Tuple to be set as job priorities, so that ties in the first element are broken by subsequent elements.

Or probably better, we could add another type parameter for a job's priority.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions