bayesian-optimization / BayesianOptimization

A Python implementation of global optimization with gaussian processes.
https://bayesian-optimization.github.io/BayesianOptimization/index.html
MIT License
7.81k stars 1.53k forks source link

Fix replace list with deque #508

Closed phi-friday closed 1 week ago

phi-friday commented 1 month ago

Replace queue implemented using list with deque.

The implementation with list appears to be due to the use of append() and #370 . If append() is used, deque is more efficient, and #370 is also solved.

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.12%. Comparing base (aed6a25) to head (23f4147). Report is 3 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #508 +/- ## ========================================== - Coverage 96.19% 96.12% -0.08% ========================================== Files 10 10 Lines 867 851 -16 ========================================== - Hits 834 818 -16 Misses 33 33 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.