Skip to content

Perl implementation of SplatHash: integrate under src/perl or link externally? #4

@M-M-M-M

Description

@M-M-M-M

Hi @junevm ,

I have published a Perl implementation of SplatHash:

The implementation provides:

  • 16-byte encoding and 32x32 RGBA decoding
  • image-file encoding through Imager
  • a command-line interface
  • deterministic bit-for-bit parity tests against Go-generated RGBA vectors
  • Perl-versus-Go benchmarks using the upstream image assets
  • an MIT licence with the upstream attribution preserved

Before preparing a pull request, I would like to ask which integration model you would prefer:

  1. Copy the implementation into this repository under src/perl, following the existing Go, TypeScript, and Python layout.
  2. Add a link in the implementations/install section to the external Perl repository and its releases.
  3. Keep the Perl port fully independent and do not reference it here.

If you prefer src/perl, I can adapt the port to the repository contribution requirements, including tests that encode every upstream asset, a test:perl task in mise.toml, and the README implementation entry.

I currently maintain the Perl port in its own repository, so I would also appreciate your preference regarding long-term ownership and synchronization when the SplatHash algorithm changes.

Would you be interested in including or referencing this implementation, and which approach would you prefer?

Thanks.
m.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions