Skip to content

2.0.2

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 10:14

Release Notes

Performance

  • assoc, dissoc, and the other in-place map updates no longer copy the
    whole map on each iteration of a named let loop or a self-recursive
    internal define. Before, a loop such as
    (let loop ((i 0) (acc {})) (if (= i n) acc (loop (+ i 1) (assoc acc k i))))
    took quadratic time: 16,000 inserts took 1.1 s and 200,000 took about 4
    minutes. The cause was that the compiler's last-use analysis (TakeLocal)
    skipped every function containing a self-tail-call, so the loop variable
    kept a second reference to the map and the uniqueness check in assoc
    always failed. The analysis now covers self-tail-calls, and 16,000 inserts
    take 12 ms. do loops and set! targets still copy.

Install sema-lang 2.0.2

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/sema-lisp/sema/releases/download/v2.0.2/sema-lang-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/sema-lisp/sema/releases/download/v2.0.2/sema-lang-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install helgesverre/tap/sema-lang

Download sema-lang 2.0.2

File Platform Checksum
sema-lang-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
sema-lang-x86_64-apple-darwin.tar.xz Intel macOS checksum
sema-lang-x86_64-pc-windows-msvc.zip x64 Windows checksum
sema-lang-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
sema-lang-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:

gh attestation verify <file-path of downloaded artifact> --repo sema-lisp/sema

You can also download the attestation from GitHub and verify against that directly:

gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>