new-size ( old -- new )


Vocabulary
growable

Inputs
olda positive integer


Outputs
newa positive integer


Word description
Computes the new size of a resizable sequence.

Definition


: new-size ( old -- new ) 1 + 2 * ; inline