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

Refactor #481

Merged
merged 57 commits into from
Mar 20, 2024
Merged

Refactor #481

merged 57 commits into from
Mar 20, 2024

Conversation

sarub0b0
Copy link
Owner

@sarub0b0 sarub0b0 commented Mar 17, 2024

  • modify module hierarchy, rename
  • package by feature
  • exclude files in the package section of Cargo.toml
  • use thread::scope

@sarub0b0 sarub0b0 marked this pull request as draft March 17, 2024 16:29
@sarub0b0 sarub0b0 force-pushed the refactor branch 2 times, most recently from 23f50c9 to c9815b7 Compare March 18, 2024 12:38
* PollWorker -> PollerBase
* Poller -> PollWorker
* MainWorker -> EventController
The exec_callback function has been refactored to use a loop instead of
recursion when handling callbacks. This change improves the readability
of the code by making the control flow more explicit, and potentially
improves performance by avoiding the overhead of recursive function calls.
@sarub0b0 sarub0b0 marked this pull request as ready for review March 20, 2024 14:07
@sarub0b0 sarub0b0 merged commit 4f103af into main Mar 20, 2024
1 check passed
@sarub0b0 sarub0b0 deleted the refactor branch March 20, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant