Changeset b59cb12 in Lumiera

Timestamp:
2026-04-25T23:36:35Z (3 weeks ago)
Author:
Ichthyostega <prg@…>
Branches:
dev/play
Children:
5fafb16
Parents:
dd37600
git-author:
Ichthyostega <prg@…> (25/04/26 21:56:13)
git-committer:
Ichthyostega <prg@…> (25/04/26 23:36:35)
Message:

BufferProvider: devise a heuristic for buffer selection

  • take into account how much memory will be wasted when using some allocation to satisfy a (smaller) allocation request
  • furthermore prefer allocations used frequently in the past
  • when an allocation is used, tag it with a score that also reflects this degree of waste
  • select buffers with low score first for clean-up
(No files)

Note: See TracChangeset for help on using the changeset viewer.