Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor job scheduling to use pointer channels for QValue
- Updated the Schedule function in pool.go to return a channel of pointers to QValue instead of QValue. - Adjusted channel creation and handling to accommodate the new pointer type, improving memory efficiency and consistency in job result handling. - This change enhances the overall design by ensuring that the job results are managed as pointers, allowing for better handling of nil values and reducing unnecessary copies.
- Loading branch information