Skip to content

Allow pull requests from non-collaborators (to resubmit PRs from the old repo) #1

Closed

Description

@xaviergonz

Hi Seth, and thanks for taking Clipper2 on.

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:

The old PRs have the details, benchmarks and testing notes. I'll reopen them here as soon as PRs are allowed.

Activity

  1. exoosh commented on Oct 29, 2026

    @exoosh

    @sethhillbrand the README now says 2028 instead of 2026 in the sentence:

    In 2028, the original repository at https://github.com/AngusJohnson/Clipper2 was archived and primary development has moved to this location.

    Piggybacking on this ticket as this is really minor ...

  2. sethhillbrand commented on Oct 29, 2026

    @sethhillbrand

    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.

  3. xaviergonz commented on Oct 29, 2026

    @xaviergonz
    Author

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions