mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: reduce heap allocations done by os.real_path, os.executable, os.getwd
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
module os
|
||||
|
||||
const max_path_buffer_size = max_path_len
|
||||
|
||||
const (
|
||||
o_binary = 0 // input and output is not translated; the default on unix
|
||||
o_rdonly = C.O_RDONLY // open the file read-only.
|
||||
|
Reference in New Issue
Block a user