v/vlib
Delyan Angelov 53ae9dda4b
cgen: speed up auto generated Array_*_contains and Array_*_index methods
Uses a.data instead of array_get, since the auto generated methods
have the calls in a loop that guarantees that the bounds of the arrays
will not be exceeded, thus the inner bounds checking can be skipped.

Results in +5% improvement for V compiled with tcc, doing `v -o x.c cmd/v`,
more with -prod.
2021-05-02 20:35:04 +03:00
..
arrays
benchmark
bitfield
builtin builtin.string: minor fixes in join() (#9952) 2021-05-02 19:31:47 +03:00
cli all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
clipboard
context all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
crypto
darwin
dl
encoding
eventbus
flag tools: turn `v -watch` into a `v watch` sub-command, so that it can have its own options 2021-04-28 12:29:50 +03:00
fontstash
gg gg: fix width and height in draw_rounded_rect primitive (#9926) 2021-04-29 10:58:57 +03:00
glm glm: fix typo (#8748) 2021-02-15 17:53:07 +02:00
gx
hash
io io: make io.cp use chunks (#9877) 2021-04-26 09:59:23 +03:00
json
log log: unify output order between cli and file (#9693) 2021-04-12 09:38:47 +03:00
math
mysql orm: fix mysql substructs (#9930) 2021-04-29 21:00:17 +03:00
net cgen: do full struct initialisation for V structs, fixes invalid data from `map[string]Struct{}['unknown']` (#9878) 2021-04-27 08:18:48 +03:00
orm orm: support multiline statements (#9888) 2021-04-27 15:28:57 +03:00
os cgen: execute `defer` block *after* return expression is evaluated (#9893) 2021-04-27 01:42:16 +03:00
os2 vlib: use new filename format 2020-04-11 19:51:32 +02:00
pg orm: add initial pg support (#9827) 2021-04-25 18:57:55 +03:00
picoev picoev: error handling workaround (#9913) 2021-05-01 14:20:10 +03:00
picohttpparser
rand
readline
regex parser: remove ++/-- exception for some modules (#9895) 2021-04-27 01:41:42 +03:00
runtime
semver
sokol cgen: do full struct initialisation for V structs, fixes invalid data from `map[string]Struct{}['unknown']` (#9878) 2021-04-27 08:18:48 +03:00
sqlite
stbi
strconv strconv: new faster atof function (#9903) 2021-04-28 07:42:22 +03:00
strings strings: fix for Builder.str() using b.len instead of b.buf.len 2021-04-25 09:07:46 +03:00
sync all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
szip
term all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
time
v cgen: speed up auto generated Array_*_contains and Array_*_index methods 2021-05-02 20:35:04 +03:00
vweb fmt: reset const field align after multi line exprs (#9916) 2021-04-29 02:17:37 +03:00
x fmt: reset const field align after multi line exprs (#9916) 2021-04-29 02:17:37 +03:00
.vdocignore