1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builtin: use prealloc_block_size = 16777216 temporarily

This commit is contained in:
Delyan Angelov 2021-07-18 17:03:25 +03:00
parent 016240d00b
commit 3ccde5ce55
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -13,7 +13,8 @@ module builtin
// NB: `-prealloc` is NOT safe to be used for multithreaded programs!
// size of the preallocated chunk
const prealloc_block_size = 16 * 1024 * 1024
// TODO: see why comptime calculation of integer expressions fails
const prealloc_block_size = 16777216
__global g_memory_block &VMemoryBlock
[heap]