Merge branch 'rs/pop-recent-commit-with-prio-queue'
commit0f6e5037d40db4768e8b61aea22c68c9711ce544
authorJunio C Hamano <gitster@pobox.com>
Mon, 28 Jul 2025 19:02:34 +0000 (28 12:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Jul 2025 19:02:34 +0000 (28 12:02 -0700)
treecf43012483aec4b0ac9d57080dd8c055b6cbf626
parente4ef0485fd78fcb05866ea78df35796b904e4a8e
parenta79e3519d66671a408041dac8c56d99078de41f2
Merge branch 'rs/pop-recent-commit-with-prio-queue'

The pop_most_recent_commit() function can have quite expensive
worst case performance characteristics, which has been optimized by
using prio-queue data structure.

* rs/pop-recent-commit-with-prio-queue:
  commit: use prio_queue_replace() in pop_most_recent_commit()
  prio-queue: add prio_queue_replace()
  commit: convert pop_most_recent_commit() to prio_queue
commit.c
fetch-pack.c
object-name.c
t/meson.build
walker.c