IFClite TypeScript API
    Preparing search index...

    Function selectEvictions

    • Select batches to evict so residentBytes drops to budgetBytes or below. shells must contain only ELIGIBLE batches (resident, bucket-owned, CPU geometry retained, not drawn this frame). Returns the keys to evict, LRU first; empty when already within budget or nothing is old enough.

      Parameters

      • shells: readonly ResidencyShell[]
      • residentBytes: number
      • budgetBytes: number
      • currentFrame: number
      • OptionalminAgeFrames: number

      Returns string[]