Skip to content

Remove unused XPath functions min, max, ReplaceAll, FontSizeGuess - #906

Open
moritz-gross wants to merge 4 commits into
daisy:mainfrom
moritz-gross:remove-unused-xpath-functions
Open

moritz-gross wants to merge 4 commits into
daisy:mainfrom
moritz-gross:remove-unused-xpath-functions

Conversation

@moritz-gross

Copy link
Copy Markdown
Collaborator

None of these were called from any rule file or from Rust code via XPath. They were registered under a "Not used: remove??" comment.

  • Delete Min, Max and ReplaceAll and their registrations
  • Drop the XPath registration for FontSizeGuess; its only remaining use was em_from_value() from canonicalize.rs, which is now a free pub(crate) function

None of these were called from any rule file or from Rust code via XPath.
They were registered under a "Not used: remove??" comment.
  - Delete Min, Max and ReplaceAll and their registrations
  - Drop the XPath registration for FontSizeGuess; its only remaining use was em_from_value() from canonicalize.rs, which is now a free pub(crate) function
@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Linux library size: 0.59 MiB (-0.14%)
Revision Release liblibmathcat.so
Base (a9d481a) 0.59 MiB (618,272 bytes)
PR (42aebff) 0.59 MiB (617,424 bytes)
Change -848 bytes (-0.14%)

Built with default features, Rust 1.96.0, and Ubuntu 24.04. Workflow run.

@moritz-gross

Copy link
Copy Markdown
Collaborator Author

update: unblocked this from the changes by llazy_regex

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant