(sz checker.SizeEstimate)
| 33 | ) |
| 34 | |
| 35 | func estimateStringScan(sz checker.SizeEstimate) (checker.CostEstimate, *checker.SizeEstimate) { |
| 36 | return estimateTraversal(sz, stringCostFactor, nil) |
| 37 | } |
| 38 | |
| 39 | func estimateListAlloc(sz checker.SizeEstimate, costFactor float64) (checker.CostEstimate, *checker.SizeEstimate) { |
| 40 | return estimateTraversal(sz, costFactor, &listAllocCost) |
no test coverage detected