hikari
|
f026753692
|
strings: levenshtein_distance: remove do
|
2022-04-21 21:19:43 +03:00 |
|
hikari
|
71b1cce517
|
strings: levenshtein_distance: 64 is actually faster than 256
|
2022-04-21 21:19:11 +03:00 |
|
hikari
|
d8f0da164b
|
strings: levenshtein_distance: improve potential caching
|
2022-04-21 21:15:11 +03:00 |
|
hikari
|
591732f347
|
strings: levenshtein_distance: remove costs calculation for default array
|
2022-04-21 20:58:50 +03:00 |
|
hikari
|
eee97f7f62
|
strings: add levenshtein_distance procedure
|
2022-04-21 20:49:32 +03:00 |
|
Michael Kutowski
|
b5aa50aaa4
|
documentation for the rest of the strings library
|
2022-04-03 19:37:54 +02:00 |
|
Jeroen van Rijn
|
c21c993646
|
[strings] fix.
|
2022-04-02 01:54:35 +02:00 |
|
Jeroen van Rijn
|
24c48d22bc
|
[strings] Improve cut, add tests for it.
|
2022-03-27 22:13:26 +02:00 |
|
Michael Kutowski
|
58f4d533b7
|
add string documentation & examples, fix & cleanup string_multi
|
2022-03-27 11:39:17 +02:00 |
|
Jeroen van Rijn
|
3f3cc342b4
|
Update strings.odin
Fix from Walter.
|
2022-03-26 18:38:10 +01:00 |
|
WalterPlinge
|
9080fa4a9d
|
Update fields_iterator comment
Added ticks for identifiers
|
2022-03-25 20:51:04 +00:00 |
|
WalterPlinge
|
5616ff9a40
|
Add fields_iterator proc
Adds a `fields_iterator` proc to `core:strings`
|
2022-03-25 20:03:39 +00:00 |
|
Lucas Perlind
|
6d354524e2
|
* Add split_by_byte_iterator. It functions exactly like split_iterator but takes in a byte seperator rather than a string seperator.
The intention is to provide a faster split parsing if the seperator is known to be byte size.
|
2022-03-21 21:39:30 +11:00 |
|
Tetralux
|
2abba6e057
|
Don't use leading asterisks
|
2022-02-21 09:51:03 +00:00 |
|
Tetralux
|
db5a1b0c78
|
Add doc comments to strings.split() and strings.split_n()
|
2022-02-21 09:23:45 +00:00 |
|
gingerBill
|
f561147190
|
Correct _split_iterator
|
2022-02-14 10:57:29 +00:00 |
|
gingerBill
|
18e639f59b
|
Add strings.split_lines* procedures
|
2022-01-23 21:35:03 +00:00 |
|
gingerBill
|
f364ac60c2
|
Remove the hidden NUL byte past the end from strings.clone
|
2022-01-01 15:31:51 +00:00 |
|
gingerBill
|
4423bc0706
|
Fix typo
|
2021-12-12 01:10:40 +00:00 |
|
gingerBill
|
85f8c8df91
|
Fix fields_proc in strings and bytes
|
2021-12-11 12:04:34 +00:00 |
|
gingerBill
|
e2f53ee107
|
Fix #1362 strings.index_any
|
2021-12-11 12:02:23 +00:00 |
|
gingerBill
|
6ca793f0e9
|
Remove deprecation from the build specific procedures
|
2021-09-30 11:45:56 +01:00 |
|
gingerBill
|
e928793e79
|
Correct _builder_stream_vtable
|
2021-09-29 14:49:06 +01:00 |
|
gingerBill
|
94a27224b2
|
Deprecate strings.write_quoted_* in favour of io.write_quoted_*; make reflect.write_type a little more robust with io.Error handling
|
2021-09-29 13:42:58 +01:00 |
|
gingerBill
|
b2164b5da6
|
Make the io/conv.odin utilities be #optional_ok
|
2021-09-29 13:24:42 +01:00 |
|
gingerBill
|
b3f2263442
|
Add io.write_quoted_* utility procedures to package io
|
2021-09-29 13:04:59 +01:00 |
|
gingerBill
|
91d089ffe2
|
Minor clean up to strings.odin
|
2021-09-16 23:03:16 +01:00 |
|
gingerBill
|
56bd1e2d70
|
Simplify strings.write_byte and strings.write_bytes
|
2021-09-09 00:38:16 +01:00 |
|
Ricardo Silva
|
f6d496c81d
|
Fix strings.index_any on small strings
|
2021-09-07 18:38:10 +01:00 |
|
gingerBill
|
720884e0f1
|
Strip even more semicolons if followed by a } or ) on the same line
|
2021-08-31 23:47:57 +01:00 |
|
gingerBill
|
251da264ed
|
Remove unneeded semicolons from the core library
|
2021-08-31 22:21:13 +01:00 |
|
gingerBill
|
bf56e3ea8d
|
Improve strings.index_any and strings.last_index_any
|
2021-08-27 12:07:57 +01:00 |
|
gingerBill
|
bf130087e7
|
Change to strings.clone_from_cstring_bounded
|
2021-08-21 13:43:03 +01:00 |
|
gingerBill
|
38e038a1ab
|
Add strings.clone_from and strings.clone_from_nul_terminated
|
2021-08-21 13:42:06 +01:00 |
|
gingerBill
|
d70fa4329c
|
Move #no_bounds_check to before return
|
2021-08-15 11:08:28 +01:00 |
|
Jeroen van Rijn
|
d260ca6738
|
string.cut uses context.allocator by default.
|
2021-08-02 17:58:42 +02:00 |
|
Jeroen van Rijn
|
0dc900ba34
|
Add strings.cut, which returns a substring.
|
2021-08-01 19:41:20 +02:00 |
|
gingerBill
|
8dcb14fbc2
|
Add helper procedures for strings.Reader creation
|
2021-06-24 15:55:42 +01:00 |
|
gingerBill
|
86649e6b44
|
Core library clean up: Make range expressions more consistent and replace uses of .. with ..=
|
2021-06-14 11:15:25 +01:00 |
|
gingerBill
|
e82f8214e8
|
Add bytes.remove, bytes.remove_all, strings.remove, strings.remove_all
|
2021-05-23 11:46:43 +01:00 |
|
gingerBill
|
26ce40c188
|
Remove @(static) for global variables
|
2021-05-19 11:51:48 +01:00 |
|
gingerBill
|
d33350e3a5
|
Add truncate_to_byte and truncate_to_rune for packages strings and bytes
|
2021-04-22 15:49:10 +01:00 |
|
gingerBill
|
3337412228
|
split*_iterator procedures for package bytes and strings
|
2021-03-18 13:26:33 +00:00 |
|
gingerBill
|
b727b6438b
|
Minimize unneeded casts
|
2021-03-03 14:31:17 +00:00 |
|
gingerBill
|
aa93305015
|
Replace usage of inline proc with #force_inline proc in the core library
|
2021-02-23 16:14:47 +00:00 |
|
gingerBill
|
2957da538d
|
Add strings.Intern
|
2020-12-15 22:07:53 +00:00 |
|
gingerBill
|
0ed1300bd6
|
Make bytes.Reader and strings.Reader have the same interface
|
2020-12-04 21:25:13 +00:00 |
|
gingerBill
|
edbb3e3b32
|
Fix typos
|
2020-12-04 18:53:17 +00:00 |
|
gingerBill
|
ecf324e213
|
Remove buffered type
|
2020-12-04 18:50:30 +00:00 |
|
gingerBill
|
7268c80d64
|
Add strings.fields and strings.fields_proc
|
2020-12-04 18:50:05 +00:00 |
|