Function createBucket

Creates a new bucket from the provided entries. Does not handle boundary creation. This is a low level function and is easy to use incorrectly.

  • Parameters

    • average: number
    • level: number
    • entries: Entry[]

    Returns Bucket