You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow pull requests from non-collaborators (to resubmit PRs from the old repo) #1
Angus's README asks people to resubmit their open PRs here, but this repo currently only lets collaborators create pull requests (Settings → General → Pull Requests), so I can't open them. Could you allow PRs from everyone, or would you prefer contributions to come in some other way?
These are the three I had open on the old repo. They're all performance changes with byte-identical output, and each one applies cleanly on the current main:
Thanks for the comment. I'm still getting up to speed and I'm not sure that I want to invite general PRs in this repo. If there is a specific issue with Clipper2 as it exists, I'd appreciate hearing about it in the issues.
Once I get the repo into the state I'm comfortable with maintaining, I'll start bringing more people into the org who can make PRs.
They aren't bug fixes. They're performance problems in the sweep: unions spend up to half their time re-sorting active edges that haven't moved, and offsets spend a lot of time in malloc/free. The output doesn't change. I've opened one issue for each problem, #2, #3 and #4, with profiling numbers and a link to the branch with the fix. That way they're tracked here and you can look at them whenever suits you. I'll keep the branches rebased on main in the meantime. If you end up dropping C# and Delphi, I'll trim them down to C++ only.
I maintain js-angusj-clipper, the WebAssembly build of Clipper for JS. I'd like to move it to Clipper2, but I'm waiting for these speed improvements first. Compiled to WebAssembly, Clipper2 as it is now is actually slower than Clipper1 in my benchmarks: boolean ops run at 0.85–1.06× of Clipper1's speed. With these three changes they're 1.5–2× faster.
Activity
exoosh commentedon Oct 29, 2026
@sethhillbrand the README now says 2028 instead of 2026 in the sentence:
Piggybacking on this ticket as this is really minor ...
sethhillbrand commentedon Oct 29, 2026
Thanks for the comment. I'm still getting up to speed and I'm not sure that I want to invite general PRs in this repo. If there is a specific issue with Clipper2 as it exists, I'd appreciate hearing about it in the issues.
Once I get the repo into the state I'm comfortable with maintaining, I'll start bringing more people into the org who can make PRs.
xaviergonz commentedon Oct 29, 2026
Makes sense, thanks Seth. No rush.
They aren't bug fixes. They're performance problems in the sweep: unions spend up to half their time re-sorting active edges that haven't moved, and offsets spend a lot of time in malloc/free. The output doesn't change. I've opened one issue for each problem, #2, #3 and #4, with profiling numbers and a link to the branch with the fix. That way they're tracked here and you can look at them whenever suits you. I'll keep the branches rebased on
mainin the meantime. If you end up dropping C# and Delphi, I'll trim them down to C++ only.I maintain js-angusj-clipper, the WebAssembly build of Clipper for JS. I'd like to move it to Clipper2, but I'm waiting for these speed improvements first. Compiled to WebAssembly, Clipper2 as it is now is actually slower than Clipper1 in my benchmarks: boolean ops run at 0.85–1.06× of Clipper1's speed. With these three changes they're 1.5–2× faster.