mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
prealloc: skip frees for now
This commit is contained in:
@ -438,6 +438,9 @@ pub fn (a array) reverse() array {
|
||||
// pub fn (a []int) free() {
|
||||
[unsafe_fn]
|
||||
pub fn (a &array) free() {
|
||||
$if prealloc {
|
||||
return
|
||||
}
|
||||
// if a.is_slice {
|
||||
// return
|
||||
// }
|
||||
|
Reference in New Issue
Block a user