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

UI text - Campaign Properties Dialogue #4635

Merged
merged 21 commits into from
Jan 17, 2024

Conversation

bubblobill
Copy link
Collaborator

@bubblobill bubblobill commented Jan 14, 2024

Closes #4634

Description of the Change

Tidying up presentation and language

Possible Drawbacks

none

Documentation Notes

n/a

Release Notes

n/a


This change is Reviewable

bubblobill and others added 21 commits January 3, 2024 01:28
Bumps [com.google.guava:guava](https://github.com/google/guava) from 32.1.3-jre to 33.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps com.google.protobuf:protobuf-java-util from 3.25.1 to 3.25.2.

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [com.google.protobuf:protoc](https://github.com/protocolbuffers/protobuf) from 3.25.1 to 3.25.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](protocolbuffers/protobuf@v3.25.1...v3.25.2)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protoc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Successive building up an `Area` union by successive calls `Area.add()` is very slow, as each call needs to deal with
more and more complex geometry. The new `GeometryUtil.destructiveUnion()` avoids this by instead unioning the input
areas pairwise, then unioning those results pairwise, etc., until a final result is achieved. The same number of
`Area.add()` calls are made, but since the majority of them deal only with simple geometry the result is much faster.

There is a slightly slower `GeometryUtil.union()` that is implemented on top of `GeometryUtil.destructiveUnion()`, but
does not modify the input.
The first big win is to avoid calculating a separate union for `visionArea` and `meta`, instead calculating `visionArea`
as a union, then adding it to `meta`.

The second win is to use `GeometryUtil.destructiveUnion()` to significantly reduce the cost of creating `visionArea` for
long paths.

New timers have been added to measure how long it takes to get all the visible areas along the path, to union them up,
and to add them to the token's exposed area.
Updated MapFunctions CreateMap to use this.
Updated InputFunction to use this.
- Right-align labels
- Remove trailing colons
- Align token property type label
- Button tooltips
Hyphenation
@bubblobill
Copy link
Collaborator Author

image
So much betterer than it was before

@cwisniew cwisniew added this pull request to the merge queue Jan 17, 2024
@cwisniew cwisniew added the refactor Refactoring the code for optimal awesomeness. label Jan 17, 2024
Merged via the queue into RPTools:develop with commit 627daa2 Jan 17, 2024
4 checks passed
@cwisniew cwisniew added the code-maintenance Adding/editing javadocs, unit tests, formatting. label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-maintenance Adding/editing javadocs, unit tests, formatting. refactor Refactoring the code for optimal awesomeness.
Projects
Development

Successfully merging this pull request may close these issues.

[Refeactoring]: Campaign Properties Dialog
4 participants