Commit Graph

9 Commits (9e179ab11f4c38413b246ff6503d5391288414ce)

Author SHA1 Message Date
Delyan Angelov ed9cb69d07
builtin: inline manually isnil calls in array.push_many (very frequently called) 2022-05-08 14:03:58 +02:00
Delyan Angelov 665f5de33f
builtin: improve support for large arrays (`[]int{len: 1_000_000_000}` now works), fix an arr.repeat() bug (#14294) 2022-05-04 22:34:52 +02:00
Alexander Medvednikov 9334a0264f
builtin: more byte => u8
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-15 13:13:18 +02:00
yuyi 8c55a9ecd3
builtin: minor optimization of array.push() and array.push_noscan() (#13904) 2022-04-03 11:04:18 +03:00
Alexander Medvednikov 36ec47cd20 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
Delyan Angelov 47884dfd1f
builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
Alexander Medvednikov 41e88423aa Revert "builtin: use == 0 instead of isnil()"
This reverts commit 8650ec6916.
2021-07-01 06:21:03 +03:00
Delyan Angelov 8650ec6916
builtin: use == 0 instead of isnil()
Do not rely on C inlining that may not happen for a *very* frequently
called fn in lower level code.
2021-06-28 10:59:14 +03:00
Uwe Krüger daeeaef030
vfmt: hot fix to allow separate `array_d_gcboehm_opt.v` (#10413) 2021-06-11 12:00:18 +03:00