Skip to content

compress: add pure V lz, supporting multiple variations - #27137

Merged
medvednikov merged 2 commits into
vlang:masterfrom
JalonSolov:pure_v_lz
May 12, 2026
Merged

medvednikov merged 2 commits into
vlang:masterfrom
JalonSolov:pure_v_lz

Conversation

@JalonSolov

Copy link
Copy Markdown
Collaborator

Covers these variations:

lz77
lz78
lzw
lz4
lzss
lzma
lzjb

These are all used by various others, such as zlib, glib, deflate, zip, etc., etc.

Basically, a pure V replacement for the miniz C code used now.

The other routines (as mentioned, as well as any others) can be made to use this module once this is merged. Once they are all converted, V can drop miniz altogether.

Includes an interop subdir, with code which cross-validates this code against C and Python versions.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 02f8a3acb3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread vlib/compress/lz/common.v Outdated
Comment thread vlib/compress/lz/common.v Outdated
Comment thread vlib/compress/lz/common.v Outdated
@medvednikov
medvednikov merged commit 714bc79 into vlang:master May 12, 2026
69 of 81 checks passed
@JalonSolov
JalonSolov deleted the pure_v_lz branch May 12, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants