Skip to content

More build options would be appreciated #1

@laeuter

Description

@laeuter

I like the speed of your dawg/gaddag builder very much and I would like to use it for my own formats, too. If you like them to be contributed, I'd certainly would like to do so.
My formats include

  • non-tree formats,
  • 2-byte arc formats,
  • nodes with headers,
  • letter lists external to the arcs,
  • letter masks to fast-check which letters are present in a node,
  • non-contiguous nodes (arcs are present at offsets according to letter),
  • another dawg type for fast-checking orthogonal words,
  • node order to improve cache usage further.

Some of the formats stem from my experiments with small dawgs sub-64kb wordlists (the wordlists are unpacked by JS code, and the format is described in the sources), others from my own fast Scrabble move finder (not really public).

Your code in src/build.rs isn't optimally suited for these use cases, but it would certainly be the correct home for my additions. If incorporatable, some changes would be necessary that would change the appearance of the code, and I wanted to ask, what amount is acceptable/appreciated.

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