mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
Revert "strings: fix using array_push_many inside write_string + gc, not using array_push_many_noscan (part 1)"
This reverts commit be51143ac5
.
This commit is contained in:
parent
be51143ac5
commit
0b8a612406
2 changed files with 2 additions and 6 deletions
|
@ -134,11 +134,7 @@ pub fn (mut b Builder) write_string(s string) {
|
|||
if s.len == 0 {
|
||||
return
|
||||
}
|
||||
$if gcboehm ? {
|
||||
unsafe { b.push_many_noscan(s.str, s.len) }
|
||||
} $else {
|
||||
unsafe { b.push_many(s.str, s.len) }
|
||||
}
|
||||
unsafe { b.push_many(s.str, s.len) }
|
||||
// for c in s {
|
||||
// b.buf << c
|
||||
// }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue