Lukas Wirth
|
76463eee48
|
Move lint definition generation into xtask/codegen
|
2024-03-04 17:14:14 +01:00 |
|
Johann Hemmann
|
bef355168a
|
non_minimal_cfg
|
2024-01-19 17:31:01 +01:00 |
|
roife
|
df538288e0
|
internal: add inline for move_mask in line-index
|
2024-01-12 20:27:54 +08:00 |
|
roife
|
7c3744e4db
|
internal: Speedup line index calculation via NEON for aarch64
|
2024-01-12 15:58:56 +08:00 |
|
roife
|
a011b6c84c
|
fix: correct existing tests for WideChar in lib 'line-index' and add more tests
|
2023-12-07 15:33:28 +08:00 |
|
roife
|
9a3167e65e
|
fix: correct calculation for fields in WideChar for line-specific positions
|
2023-12-07 15:30:00 +08:00 |
|
Laurențiu Nicola
|
a2b159dcc6
|
Use a permalink to the SIMD line index code, and add a note on the GitHub API
|
2023-07-12 20:51:20 +03:00 |
|
Lukas Wirth
|
97748b0fc6
|
Speedup line index calculation via SSE2
|
2023-07-03 16:46:28 +02:00 |
|
Ariel Davis
|
60056b8845
|
Expose len
|
2023-05-06 15:44:37 -07:00 |
|
Ariel Davis
|
9d4d45215a
|
Rename
|
2023-05-06 15:44:09 -07:00 |
|
Ariel Davis
|
369e430b05
|
Improve doc
|
2023-05-06 15:42:15 -07:00 |
|
Ariel Davis
|
1cf74802ab
|
Improve docs
|
2023-05-06 15:14:02 -07:00 |
|
Ariel Davis
|
cc2936b93e
|
Use size field
|
2023-05-06 15:10:35 -07:00 |
|
Ariel Davis
|
510050ecdc
|
Add more types
|
2023-05-06 15:09:34 -07:00 |
|
Ariel Davis
|
7a7f90cf28
|
Use de morgan
|
2023-05-06 15:06:51 -07:00 |
|
Ariel Davis
|
7cdca727a8
|
Use all not instead of find is none
|
2023-05-06 15:06:23 -07:00 |
|
Ariel Davis
|
e4d053e794
|
Rm into
|
2023-05-06 15:05:38 -07:00 |
|
Ariel Davis
|
1bc6bca478
|
Use checked
|
2023-05-06 15:05:03 -07:00 |
|
Ariel Davis
|
343976fe56
|
Return None for too-large offset
|
2023-05-06 02:08:47 -07:00 |
|
Ariel Davis
|
e8a93306f0
|
Remove 0 TextSize at front
|
2023-05-06 01:46:33 -07:00 |
|
Ariel Davis
|
6500487735
|
Rename
|
2023-05-06 01:37:25 -07:00 |
|
Ariel Davis
|
0ad2450396
|
Check for inside multibyte
|
2023-05-06 01:05:28 -07:00 |
|
Ariel Davis
|
902b3438c9
|
Use try_line_col
|
2023-05-06 01:04:41 -07:00 |
|
Ariel Davis
|
d683e22021
|
Use u32 more
|
2023-05-06 01:03:18 -07:00 |
|
Ariel Davis
|
8012acc90e
|
Use a from
|
2023-05-06 01:02:37 -07:00 |
|
Ariel Davis
|
84a6cb3bfc
|
Inline
|
2023-05-06 00:59:56 -07:00 |
|
Ariel Davis
|
02e8bb0c6e
|
Return Option
|
2023-05-06 00:57:57 -07:00 |
|
Ariel Davis
|
9de213c4fe
|
Swap, tweak comments
|
2023-05-06 00:56:30 -07:00 |
|
Ariel Davis
|
0bb21533c6
|
Tweak comments, swap
|
2023-05-06 00:52:11 -07:00 |
|
Ariel Davis
|
594a41e7bf
|
Use pre.1, tweak comment
|
2023-05-06 00:51:25 -07:00 |
|
Ariel Davis
|
1ad0779a00
|
Make WideEncoding non-exhaustive
|
2023-05-06 00:49:23 -07:00 |
|
Ariel Davis
|
59b4916294
|
Swap
|
2023-05-06 00:49:23 -07:00 |
|
Ariel Davis
|
663e11c4b0
|
Move some tests
|
2023-05-06 00:49:23 -07:00 |
|
Ariel Davis
|
da5c63c8f9
|
Use boxed slice
As well as doing the shrink_to_fit, we also don't have to keep track of
the capacity anymore.
|
2023-05-06 00:49:23 -07:00 |
|
Ariel Davis
|
d9c88460e4
|
Use cur
|
2023-05-06 00:49:23 -07:00 |
|
Ariel Davis
|
4b7c759f2f
|
Un-doc a comment
|
2023-05-06 00:49:23 -07:00 |
|
Ariel Davis
|
4a1922fd1a
|
Depend on nohash-hasher individually
|
2023-05-06 00:49:23 -07:00 |
|
Ariel Davis
|
1d678cf6a0
|
Allow clippy
|
2023-05-06 00:49:23 -07:00 |
|
Ariel Davis
|
71c4a8968d
|
Pub use TextRange, TextSize
|
2023-05-06 00:49:23 -07:00 |
|
Ariel Davis
|
5e2c68f4d4
|
Use less
|
2023-05-06 00:49:23 -07:00 |
|
Ariel Davis
|
39ef368e75
|
Remove pub(crate)
|
2023-05-06 00:49:23 -07:00 |
|
Ariel Davis
|
85dd7b22b4
|
Use nohash_hasher, rm comment
|
2023-05-06 00:49:23 -07:00 |
|
Ariel Davis
|
7e1992a0d9
|
Make line-index an external lib
|
2023-05-06 00:49:23 -07:00 |
|