-
Notifications
You must be signed in to change notification settings - Fork 13
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: pmmp/ext-chunkutils2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.3.4
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: pmmp/ext-chunkutils2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 19 commits
- 10 files changed
- 2 contributors
Commits on Feb 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e2d6606 - Browse repository at this point
Copy the full SHA e2d6606View commit details
Commits on Feb 28, 2023
-
Significantly improve performance of PalettedBlockArray::validate() (#35
) This change introduces a fast path for validation using carry-out vectors, as discussed here: https://devblogs.microsoft.com/oldnewthing/20190301-00/?p=101076 TL;DR: It's possible to detect invalid palette offsets by subtracting the current "word" from a bitfield composed of the max valid palette offset, which is significantly faster than shifting and naively comparing each one. In addition, we allow the code to chew through the whole loop even if invalid offsets are detected, in the hope that compilers will use SIMD instructions and/or parallelize the loop, which is also substantially faster than breaking out early on a branch condition to throw an exception. The downside of the fast path is that it cannot report the exact offset an error occurred at, only that an error is present. For this reason, the old, slower code is retained, which allows generating detailed errors if an error is detected. Note: This does cause a change of behaviour for palettes with padded words (3, 5, and 6 bits per block). The palette is now validated to be zero as a side effect of this change. If non-zero padding is found, the fast path will fail, and fallback to the slow path, which will ignore the error. We may want to explicitly ignore or force padding to be zero.
Configuration menu - View commit details
-
Copy full SHA for 746cdfa - Browse repository at this point
Copy the full SHA 746cdfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c421d4 - Browse repository at this point
Copy the full SHA 5c421d4View commit details
Commits on Mar 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 036b4af - Browse repository at this point
Copy the full SHA 036b4afView commit details -
Configuration menu - View commit details
-
Copy full SHA for eebb253 - Browse repository at this point
Copy the full SHA eebb253View commit details
Commits on Nov 15, 2023
-
Bump actions/checkout from 3 to 4 (#37)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e80ab43 - Browse repository at this point
Copy the full SHA e80ab43View commit details
Commits on Nov 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4e5ace8 - Browse repository at this point
Copy the full SHA 4e5ace8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fa61b5 - Browse repository at this point
Copy the full SHA 5fa61b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1b0373 - Browse repository at this point
Copy the full SHA b1b0373View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58edf80 - Browse repository at this point
Copy the full SHA 58edf80View commit details
Commits on Jan 3, 2024
-
Bump actions/upload-artifact from 3 to 4 (#39)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c903f19 - Browse repository at this point
Copy the full SHA c903f19View commit details
Commits on Feb 2, 2024
-
Bump actions/cache from 3 to 4 (#40)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for baccf98 - Browse repository at this point
Copy the full SHA baccf98View commit details
Commits on Dec 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 13e9d28 - Browse repository at this point
Copy the full SHA 13e9d28View commit details -
Specialize palette impl for 6, 8 and 16 bpb
Instead of wasting a bunch of memory and CPU time, use vectors to save memory on larger sizes, and a map to lookup IDs instead of bruteforce searching them. 16 bpb benefits a crazy amount by this, with write operations becoming 100x faster. 8 bpb gets 20x faster, and to my surprise, 6 bpb gets 4x faster.
Configuration menu - View commit details
-
Copy full SHA for c3e4ea7 - Browse repository at this point
Copy the full SHA c3e4ea7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 343a1d9 - Browse repository at this point
Copy the full SHA 343a1d9View commit details
Commits on Dec 18, 2024
-
Added PalettedBlockArray::setPalette()
this is useful for conversion operations, e.g. mapping the palette. closes #28
Configuration menu - View commit details
-
Copy full SHA for da8ea72 - Browse repository at this point
Copy the full SHA da8ea72View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5ab6e7 - Browse repository at this point
Copy the full SHA d5ab6e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87ed055 - Browse repository at this point
Copy the full SHA 87ed055View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed87a57 - Browse repository at this point
Copy the full SHA ed87a57View commit details
There are no files selected for viewing