Skip to content

Compile time complexity of lazy-sort #35

@kchanqvq

Description

@kchanqvq
PETALISP> (let ((vec (compute (lazy-index-components (~ (expt 2 20))))))
            (time (compute (lazy-sort vec #'<))))

This never finishes the compilation phase and drop into ldb from memory exhaustion after a few minute (with 4GB heap size SBCL).

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