CostConfig constructor

const CostConfig({
  1. double seqIoCost = 1.0,
  2. double randomIoCost = 1.25,
  3. double cpuTupleCost = 0.01,
  4. double cpuOperatorCost = 0.0025,
  5. double indexFetchCost = 0.5,
  6. double rowsPerPage = 60.0,
})

Implementation

const CostConfig({
  this.seqIoCost      = 1.0,
  this.randomIoCost   = 1.25,  // NVMe SSD default (was 4.0 for HDD)
  this.cpuTupleCost   = 0.01,
  this.cpuOperatorCost = 0.0025,
  this.indexFetchCost = 0.5,
  this.rowsPerPage    = 60.0,  // binary pages (was 16 for JSON)
});