Delyan Angelov
|
a80bc23314
|
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test , v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918)
|
2025-03-13 19:51:51 +02:00 |
|
Emma
|
6b92f8fada
|
all: remove ancient deprecations (#23479)
|
2025-01-16 16:36:12 +02:00 |
|
Delyan Angelov
|
78ed1f703a
|
strings: use int instead of u16 in strings.levenshtein_distance; it is ~ same performance, but has less constraints
|
2024-12-18 21:06:54 +02:00 |
|
Delyan Angelov
|
c7ee45fc64
|
strings.textscanner, examples: add TextScanner .skip_whitespace/0, .peek_u8/0, .peek_n_u8/0, add examples/mini_calculator_recursive_descent.v (#23001)
|
2024-11-28 21:17:24 +02:00 |
|
kbkpbot
|
86470abc77
|
strings: add hamming_distance/jaro_similarity/jaro_winkler_similarity functions (#22701)
|
2024-10-31 13:34:37 +02:00 |
|
Felipe Pena
|
b2ac2ed627
|
strings,cgen: add .write2/2 and .writeln2/2 methods to reduce consecutive write calls (#22610)
|
2024-10-22 16:30:58 +03:00 |
|
Delyan Angelov
|
3e6fc364a8
|
transformer: optimise calls to write string with simple interpolations, implement -d trace_transformer (#22188)
|
2024-10-09 19:41:48 +03:00 |
|
yuyi
|
c51d30bf53
|
fmt: fix alignment of struct init fields (#22025)
|
2024-08-11 09:11:24 +03:00 |
|
yuyi
|
19f080ffb8
|
all: change single blank comment to blank line (#22016)
|
2024-08-09 14:55:58 +03:00 |
|
Turiiya
|
2a368cf53c
|
builtin, strings: improve consistency and behavior regarding explicit mutability (#21566)
|
2024-07-10 15:26:51 +03:00 |
|
Turiiya
|
5b9358279a
|
vlib: simplify byte character conditions by using methods like is_capital, is_lower, is_letter etc (#21725)
|
2024-06-25 09:55:08 +03:00 |
|
Delyan Angelov
|
84fbe2728d
|
builtin,v: reduce overhead and memory usage for very frequently called methods (#21540)
|
2024-05-21 09:11:56 +03:00 |
|
Turiiya
|
8aa9314a99
|
vlib: refactor empty string checks to use s == '' or s != '' , instead of s.len == 0 (#21300)
|
2024-04-18 02:44:31 +03:00 |
|
Kim Shrier
|
d7cc6f5cf1
|
strings.textscanner: fix off-by-one error in skip method (#21045)
|
2024-03-17 11:11:10 +02:00 |
|
Casper Küthe
|
d8c4a84f71
|
io: add a string_reader submodule (#20893)
|
2024-02-27 09:38:30 +02:00 |
|
Turiiya
|
d485cceee8
|
doc: update trim_doc_node_description, make module readmes more uniform (#20792)
|
2024-02-12 12:38:47 +02:00 |
|
Delyan Angelov
|
4991fc7491
|
testing: make the FAIL tests more verbose, to ease remote CI failure diagnostics
|
2024-01-21 17:46:24 +02:00 |
|
Henrik Holst
|
091040116d
|
strings: fix levenshtein_distance function correctness after #20435 (#20474)
|
2024-01-10 23:33:39 +02:00 |
|
zeozeozeo
|
8af961faf6
|
strings: use faster levenshtein distance algorithm (#20435)
|
2024-01-08 12:41:57 +02:00 |
|
Delyan Angelov
|
5b9d0f241a
|
strings: improve the performance of levenshtein_distance/2 (use early returns for the easy cases, idiomatic array initalisation, and @[direct_array_access])
|
2024-01-08 05:00:04 +02:00 |
|
Delyan Angelov
|
73a08c7d74
|
builtin: fix the document comments of levenshtein_distance, levenshtein_distance_percentage, dice_coefficient
|
2024-01-08 04:23:21 +02:00 |
|
Anton
|
763f94388b
|
all: update copyright year (#20334)
|
2024-01-01 23:29:54 +02:00 |
|
yuyi
|
5b96d8d179
|
checker: cleanup array and alias of array method call (#20290)
|
2023-12-28 23:03:56 +02:00 |
|
Delyan Angelov
|
0b8a612406
|
Revert "strings: fix using array_push_many inside write_string + gc, not using array_push_many_noscan (part 1)"
This reverts commit be51143ac507023bba66454aad35a75aa88f1233.
|
2023-12-01 21:45:35 +02:00 |
|
Delyan Angelov
|
be51143ac5
|
strings: fix using array_push_many inside write_string + gc, not using array_push_many_noscan (part 1)
|
2023-12-01 18:26:57 +02:00 |
|
Alexander Medvednikov
|
01e6f6473b
|
gg: set_window_title; macos img fix; gx: color fixes; strings: Builder.writeln_string
|
2023-11-22 03:10:34 +03:00 |
|
Joe C
|
757929392e
|
all: update attributes to use new syntax
|
2023-11-15 16:16:01 +11:00 |
|
Turiiya
|
6437d82ee1
|
checker: warn about byte deprecation, when used as a fn parameter (#19629)
|
2023-10-23 20:54:28 +03:00 |
|
Delyan Angelov
|
af7a2135b7
|
strings: add Bulder.write_decimal/1 method (write a decimal number, without additional allocations) (#19625)
|
2023-10-22 23:46:25 +03:00 |
|
Delyan Angelov
|
6aec8244f0
|
strings: simplify Builder.drain_builder; add test (#17846)
|
2023-04-02 00:03:00 +03:00 |
|
Alexander Medvednikov
|
6756d28595
|
all: 2023 copyright
|
2023-03-28 22:55:57 +02:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
shove
|
26d643fc5d
|
all: rollback to old interpolation (step 3) (#16380)
|
2022-11-10 15:05:34 +03:00 |
|
Alexander Medvednikov
|
e1ffc76efd
|
tests: fix some interpolation tests
|
2022-10-27 11:12:15 +03:00 |
|
yuyi
|
f6844e9766
|
all: change optional to result of io (#16075)
|
2022-10-16 09:28:57 +03:00 |
|
Dominik Pytlewski
|
721328ef58
|
os: fix os.read_file and os.read_bytes for 0 sized /proc/ files on Linux (fix #15852) (#15853)
|
2022-09-25 22:54:46 +03:00 |
|
Delyan Angelov
|
fc8e3d0971
|
builtin,strconv: speedup str.int() conversions (without -prod)
|
2022-09-08 11:28:19 +03:00 |
|
Alexander Medvednikov
|
a68d03ac59
|
checker: allow x := unsafe { nil }
|
2022-07-21 20:56:24 +03:00 |
|
Larpon
|
96a9faf2fd
|
strings: add split_capital (#14716)
|
2022-06-07 18:43:06 +03:00 |
|
Delyan Angelov
|
9a0ec7f367
|
strings: update docs for .str() and for .free()
|
2022-06-02 10:41:32 +03:00 |
|
Delyan Angelov
|
cf536b848b
|
Revert "strings: reduce time spent in Builder.writeln (very frequently called)"
This reverts commit b53b1cc7cb4dc65d46342fa5a30d6ca22a71f6a1.
|
2022-05-11 09:19:37 +03:00 |
|
David 'Epper' Marshall
|
aef95721a4
|
strings: builder: add clear (#14328)
|
2022-05-08 07:15:42 +03:00 |
|
David 'Epper' Marshall
|
a91226c376
|
docs: cleanup (#14327)
|
2022-05-07 20:18:42 +03:00 |
|
Delyan Angelov
|
b53b1cc7cb
|
strings: reduce time spent in Builder.writeln (very frequently called)
|
2022-05-07 12:55:41 +03:00 |
|
Delyan Angelov
|
868d3e1008
|
ci: fix failing tests for mysql, crypto.rc4, strings
|
2022-04-15 20:51:04 +03:00 |
|
Alexander Medvednikov
|
fbb9e65c0f
|
all: ~500 more byte=>u8
|
2022-04-15 18:25:45 +03:00 |
|
Alexander Medvednikov
|
fb192d949b
|
all: replace []byte with []u8
|
2022-04-15 15:35:35 +03:00 |
|
Alexander Medvednikov
|
d4a0d6f73c
|
all: byte => u8
|
2022-04-15 14:58:56 +03:00 |
|
Alexander Medvednikov
|
014c3c97f0
|
all: byte => u8
|
2022-04-15 14:45:52 +03:00 |
|
Alexander Medvednikov
|
7f3b91e688
|
builtin: more byte => u8
|
2022-04-15 14:10:11 +03:00 |
|