diff options
| author | Mustafa Quraish <[email protected]> | 2022-02-05 20:28:56 -0500 |
|---|---|---|
| committer | Mustafa Quraish <[email protected]> | 2022-02-05 20:28:56 -0500 |
| commit | 4f99b1e1a4528d679b64915446663091ca09bb7a (patch) | |
| tree | 5033313c0cdca28fb7dd84abf9073ac664a0c305 /std/vector.cup | |
| parent | [compiler.cup] codegen for unary ops, short circuiting &&/|| (diff) | |
| download | cup-4f99b1e1a4528d679b64915446663091ca09bb7a.tar.xz cup-4f99b1e1a4528d679b64915446663091ca09bb7a.zip | |
[compiler.cup] Add support for function calls!
Diffstat (limited to 'std/vector.cup')
| -rw-r--r-- | std/vector.cup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/vector.cup b/std/vector.cup index 6b42fdc..6953e9b 100644 --- a/std/vector.cup +++ b/std/vector.cup @@ -15,7 +15,7 @@ fn vector_new_sized(capacity: int): Vector* { } fn vector_new(): Vector* { - const initial_default_capacity = 4; + const initial_default_capacity = 8; return vector_new_sized(initial_default_capacity); } |