Skip to content

Commit

Permalink
v1.18: Refactor - LoadedPrograms::replenish() (backport of #35145) (#…
Browse files Browse the repository at this point in the history
…35197)

Refactor - `LoadedPrograms::replenish()` (#35145)

* Replace LoadedPrograms::replenish() with LoadedPrograms::assign_program().

* Removes LoadedPrograms::replenish().

* Defines replacement by having the same loaded program type.

* Implements a proper insertion sort with a two key comparison operator.

(cherry picked from commit 716ad54)

Co-authored-by: Alexander Meißner <[email protected]>
  • Loading branch information
mergify[bot] and Lichtso authored Feb 16, 2024
1 parent 6cf1bf2 commit 3f42d8a
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 126 deletions.
Loading

0 comments on commit 3f42d8a

Please sign in to comment.