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
cli
clipboard
context
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
glm
gx
hash
io
json
log
math
mysql
net
orm
os
os2
pg
picoev
picohttpparser
rand
readline
regex
runtime
semver
sokol
sqlite
stbi
strconv
strings
sync
szip
term
time
v cgen: speed up auto generated Array_*_contains and Array_*_index methods 2021-05-02 20:35:04 +03:00
vweb
x
.vdocignore