Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize the implementation of IntervalSet intersection #2295

Closed
1 of 2 tasks
PragmaTwice opened this issue May 6, 2024 · 2 comments
Closed
1 of 2 tasks

Optimize the implementation of IntervalSet intersection #2295

PragmaTwice opened this issue May 6, 2024 · 2 comments
Assignees
Labels
enhancement type enhancement good first issue Good for newcomers help wanted Good for newcomers

Comments

@PragmaTwice
Copy link
Member

Search before asking

  • I had searched in the issues and found no similar issues.

Motivation

friend IntervalSet operator&(const IntervalSet &l, const IntervalSet &r) {

We can optimize this function since the implementation here uses just De Morgan's laws, not very efficient.

Solution

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@PragmaTwice PragmaTwice added enhancement type enhancement help wanted Good for newcomers good first issue Good for newcomers labels May 6, 2024
@13015517713
Copy link
Contributor

I'll do this, and will propose a solution later.

@mapleFU
Copy link
Member

mapleFU commented May 27, 2024

Closed by #2300

@mapleFU mapleFU closed this as completed May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement type enhancement good first issue Good for newcomers help wanted Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants