-
Notifications
You must be signed in to change notification settings - Fork 0
Remove legacy threading dead code #44
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
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
9c221b9
docs: Add plan and tasks for removing legacy threading dead code
zzcgumn bea8dad
refactor(ci): Remove broken perf_sample CI job
zzcgumn 96493a2
Add deprecation notices to legacy initialization APIs
zzcgumn 0231c1d
Remove Threading enum from test harness
zzcgumn 3e42c39
Document legacy C API compatibility
zzcgumn 4203496
Complete final verification checklist
zzcgumn c6d8c9a
Fix calc DD table consistency by reusing SolverContext across declarers
zzcgumn 382dd48
Address PR feedback on naming and docs
zzcgumn 9a58102
Update docs/legacy_c_api.md
zzcgumn 048921b
Update examples/migration_example.cpp
zzcgumn 9844676
Update examples/migration_example.cpp
zzcgumn f5939ec
Update README.md
zzcgumn 49da607
moves remove dead code instruction, plan and tasks into their complet…
zzcgumn aa26e59
Update library/src/api/dll.h
zzcgumn 4ca1ada
Address review feedback on API examples and documentation
zzcgumn b1c8f70
Update docs/api_migration.md
zzcgumn 1e7868b
Update docs/api_migration.md
zzcgumn 4788af5
Update examples/migration_example.cpp
zzcgumn e0fd2a1
Update docs/api_migration.md
zzcgumn 5370a65
Update docs/api_migration.md
zzcgumn e0e9e95
Update docs/api_migration.md
zzcgumn a2449b3
Update README.md
zzcgumn 607221d
Update docs/legacy_c_api.md
zzcgumn 5f575f8
Fix remaining review comments
zzcgumn d2c1875
Update copilot/tasks/completed/remove_dead_code/02_add_deprecation_no…
zzcgumn 4ef2333
Update copilot/tasks/completed/remove_dead_code/04_document_c_api_com…
zzcgumn 985e17e
Update copilot/plans/completed/remove_dead_code.md
zzcgumn 0214e75
Update library/src/calc_tables.cpp
zzcgumn dd91f31
Update library/src/calc_tables.cpp
zzcgumn d7ea501
Update library/tests/args.cpp
zzcgumn e5fa724
Update README.md
zzcgumn 1423248
Update copilot/instructions/completed/remove_dead_code.md
zzcgumn 425548e
Update library/src/calc_tables.cpp
zzcgumn f7565d2
Update docs/legacy_c_api.md
zzcgumn 085673e
Update docs/api_migration.md
zzcgumn 70bf701
Fix calc_tables.cpp: initialize fut and enhance reuse comment
zzcgumn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
File renamed without changes.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| ## Retire the Threading Enum. | ||
|
|
||
| Global memory allocation has been replaced by per call memory allocation. Clients can cache, and reuse, transposition tables. Computers have a lot more RAM compared to 15 years ago and it has to guess what is efficient from hardware configurations only. There are, however, some lingering types related to the legacy threading model. | ||
|
|
||
| - Verify that C++ clients can cache, and either reuse or reset, transposition tables. | ||
| - Verify that Threading is dead code. | ||
| - Check for other pieces of dead code such as initialisations. | ||
| - Check if any now unnecessary methods should remain as no operation implementations in the legacy C API. | ||
| - Create a plan for removing all legacy threading code from the C++ interface and library. | ||
| - There is a CI step called `perf_sample` that attempted to measure performance but is skipped and is unlikely to run correctly. Remove it if it does not execute correctly. |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.