Skip to content

some code cleaning and complexity improvements#7133

Merged
NikolajBjorner merged 4 commits intoZ3Prover:masterfrom
redianthus:master
Feb 29, 2024
Merged

some code cleaning and complexity improvements#7133
NikolajBjorner merged 4 commits intoZ3Prover:masterfrom
redianthus:master

Conversation

@redianthus
Copy link
Copy Markdown
Contributor

Hi,

I was reading the code and decided to do three things:

  • clean code with things should not be controversial and are clear improvements (first commit and second commit)
  • fix the complexity of a few operations (the List.filteri and List.compare_length_with changes), one of them was quadratic for no good reason (second commit)
  • explicit some parameters, this allows to get less false positives warnings of the kind "this argument will not be used by the function" when one still wants to enable warnings in its editor without having propoer support through the dune build system, this may be more controversial and I'm fine with removing it (third commit)

Thanks!

Loading
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.

3 participants