mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: unwrap const() blocks
This commit is contained in:
parent
399af6768d
commit
f09826e928
436 changed files with 10448 additions and 11207 deletions
|
@ -14,12 +14,10 @@ module builtin
|
|||
// The number for `degree` has been picked through vigor-
|
||||
// ous benchmarking but can be changed to any number > 1.
|
||||
// `degree` determines the maximum length of each node.
|
||||
const (
|
||||
degree = 6
|
||||
mid_index = degree - 1
|
||||
max_len = 2 * degree - 1
|
||||
children_bytes = sizeof(voidptr) * (max_len + 1)
|
||||
)
|
||||
const degree = 6
|
||||
const mid_index = degree - 1
|
||||
const max_len = 2 * degree - 1
|
||||
const children_bytes = sizeof(voidptr) * (max_len + 1)
|
||||
|
||||
pub struct SortedMap {
|
||||
value_bytes int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue