You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `Options.Level` field has questionable semantics. It's a slice of
arbitrary length and if not all levels are specified, the settings for
missing levels are derived at runtime based on the last specified
level (with target file size doubling for each level). But if we add
a level to the slice, that level gets the L0 defaults (including the
target file size).
This commits cleans this up: the field is now an array of size
`NumLevels` and the defaults are always calculated in the same way:
hardcoded defaults for L0, and for all other levels we take the
options from the level above and double the file size.
0 commit comments