Explorer

core.eval-hash-index-size

description
The smallest power of two, from size, not less than count (the bucket count of list_hash_index in the evaluator)
type
Fn(count: Number, size: Number) -> Number
expression
fn(count$0, size$1) =>
  match @core.less-than(left: $1, right: $0) {
    true =>
      @core.eval-hash-index-size(count: $0, size: @core.multiply(left: $1, right: 2)),
    false =>
      $1
  }
visibility
public
core.eval-hash-index-size (project definy, branch main, snapshot CfIAXM725tR74SWd4aoTUz4-JJQfqnllblZbQ2Sv204)
id: 6y9RApklpcQjcm6iwzjebn42FFbL0BlC8-8lp0CbzAQ
content hash: -goeiPscaLFfAesJc2ieG_gb2w3XcoLr-WNJl98IXVg