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:
parent
016240d00b
commit
3ccde5ce55
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user