mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
builtin: use prealloc_block_size = 16777216
temporarily
This commit is contained in:
parent
016240d00b
commit
3ccde5ce55
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue