Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Function entryBreakEven

    • The share of devices that must open a catalogue entry for it to repay its transfer: k*E / (k*D + o), with E the entry's compressed bytes and D the document it replaces. At 1 or above the entry never pays.

      Parameters

      • entryBytes: number
      • documentBytes: number

      Returns number