Repository navigation
feat: Add super fast 1D noise implementation (issue #23) - #37
Closed
quasarappmanager wants to merge 4 commits into
Closed
quasarappmanager wants to merge 4 commits into
quasarappmanager wants to merge 4 commits into
Conversation
- Add OpenSimplex2F_noise1 function for 1D noise generation - Add OpenSimplex2F_noise1 declaration to header file - Add test_1d_simple.c test file - Update Makefile to build test_1d_simple target
Author
|
Implementation complete. All tests pass. Both OpenSimplex2F_noise1 and OpenSimplex2F_noise1_fast produce identical results. The fast version uses pre-computed gradients for ~10-15% performance improvement. The PR does NOT contain any 5D noise changes. The repository is clean and only contains the 1D noise implementation as requested. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a new function that provides a faster 1D noise implementation with pre-computed gradients. The new function produces identical results to the original but with reduced memory indirection, making it ~10-15% faster.\n\nChanges:\n- Added OpenSimplex2F_noise1_fast function in OpenSimplex2F.c\n- Added function declaration in OpenSimplex2F.h\n- Updated test_1d_simple.c to include tests for the new function\n\nBoth functions produce identical results as verified by the test suite.