Carlos Esparza
299c39a214
add new-tab-left and new-tab-right
2024-02-25 09:57:44 +05:30
Carlos Esparza
4575608a97
add new-tab-neighbor option to detach_window
2024-02-25 09:57:44 +05:30
Kovid Goyal
1a9a7a59ac
Make XOR64 test also test alignment issues
2024-02-25 09:57:44 +05:30
Kovid Goyal
e7d6101bd4
DRYer
2024-02-25 09:57:44 +05:30
Kovid Goyal
76381f5cdd
Another tdir rmtree failure during tear down ignored
2024-02-25 09:57:44 +05:30
Kovid Goyal
40a4429e58
Ignore failure to remove tempdir during test tear down
2024-02-25 09:57:44 +05:30
Kovid Goyal
bd1aed43ec
Check for leftovers when tokenizing
2024-02-25 09:57:44 +05:30
Kovid Goyal
7727cd45cf
Delay load replacements as well
2024-02-25 09:57:44 +05:30
Kovid Goyal
4ee5b94584
Improve typing info for lex_scanner
2024-02-25 09:57:44 +05:30
Kovid Goyal
1d5c7d662e
log error when failing to parse URL
2024-02-25 09:57:44 +05:30
Kovid Goyal
f4f06222d4
...
2024-02-25 09:57:44 +05:30
Kovid Goyal
4caf8a6b14
Restore support for alternate character sets
...
Needed by the execrable ncurses. Adds an extra branch in the hot path,
sigh. Thanks to branch prediction it doesnt have any measurable impact
on the benchmark, thankfully.
2024-02-25 09:57:44 +05:30
Kovid Goyal
c19488f3be
Graphics protocol: Add a new delete mode for deleting images whose ids fall within a range
...
Useful for bulk deletion. See #7080
2024-02-25 09:57:44 +05:30
Kovid Goyal
ad3ab877f8
Use a fast SIMD implementation to XOR data going into the disk cache
2024-02-25 09:57:43 +05:30
Kovid Goyal
88f3c8c5ee
Reduce max key size in disk cache
...
We used only 12 byte keys no need to have a max key size more than 16
2024-02-25 09:57:43 +05:30
Kovid Goyal
91013a4e05
Faster image cache key generation
2024-02-25 09:57:43 +05:30
Kovid Goyal
de92470f0d
Improve performance of disk cache when there are thousands of small images
...
Fixes #7080
2024-02-25 09:57:43 +05:30
Kovid Goyal
1c62b0f1ec
...
2024-02-25 09:57:43 +05:30
Kovid Goyal
b52af64ffe
Hide cursor during benchmark run
2024-02-25 09:57:43 +05:30
Kovid Goyal
1db7ac5f6b
Use our new shift by n functions to improve function to zero last N bytes
...
Benchmark neutral but cleaner code using one less vector register and equal
number of operations.
2024-02-25 09:57:43 +05:30
Kovid Goyal
e77a970ca1
Also implement arbitrary byte shift for 128 bit registers
2024-02-25 09:57:43 +05:30
Kovid Goyal
ac984d05f2
Fix gcc detection
2024-02-25 09:57:43 +05:30
Kovid Goyal
f16c2a0d67
Move checking for compiler brand into Env
2024-02-25 09:57:43 +05:30
Kovid Goyal
29a574a4bc
Prevent duplicate VZEROUPPER instructions
2024-02-25 09:57:43 +05:30
Kovid Goyal
a7c06b38e6
We dont actually need vzeroupper at start of function
...
GCC emits vzeroupper automatically when compiling with native
optimizations but we still need it otherwise
2024-02-25 09:57:43 +05:30
Kovid Goyal
16d36c46fe
Update to using math/rand/v2
2024-02-25 09:57:43 +05:30
Kovid Goyal
720618bc37
Use go 1.22 for building
...
It supports PCALIGN on non ARM arches as well
2024-02-25 09:57:43 +05:30
Kovid Goyal
2f727e6561
...
2024-02-25 09:57:43 +05:30
Kovid Goyal
b65a5f78fd
Fix regression causing shells in darwin to not run in login mode
2024-02-25 09:57:43 +05:30
Kovid Goyal
0a1eb038a5
Implement functions for arbitrary byte shifts in vector registers
2024-02-25 09:57:42 +05:30
Kovid Goyal
e541c0534d
...
2024-02-25 09:57:42 +05:30
Kovid Goyal
eb1e3b33b4
Fix test failure on some systems
...
Broken ass compilers strike again
2024-02-25 09:57:42 +05:30
Kovid Goyal
41ec46d5bb
...
2024-02-25 09:57:42 +05:30
Kovid Goyal
b021e9b648
Do the default func test last so we can see what the failure is on more explicitly
2024-02-25 09:57:42 +05:30
Kovid Goyal
ede4d7fbca
...
2024-02-25 09:57:42 +05:30
Kovid Goyal
d0797a025b
Add dedicated tests for find_either_of_two
2024-02-25 09:57:42 +05:30
Kovid Goyal
1acd223f45
...
2024-02-25 09:57:42 +05:30
Kovid Goyal
8639a2ac40
Update perf figures based on latest code
2024-02-25 09:57:42 +05:30
Kovid Goyal
f48e4ffd5e
Port aligned load based find algorithm to C
2024-02-25 09:57:42 +05:30
Kovid Goyal
c01b959723
Fix Go unaligned index implementation
2024-02-25 09:57:42 +05:30
Kovid Goyal
36773c09d3
Functions to get bytes to first match ignoring leading bytes
2024-02-25 09:57:42 +05:30
Kovid Goyal
687340003d
...
2024-02-25 09:57:42 +05:30
Kovid Goyal
7467307200
Add some alignment tests
2024-02-25 09:57:42 +05:30
Kovid Goyal
bbdb0b15f3
DRYer
2024-02-25 09:57:42 +05:30
Kovid Goyal
b5edd9ad57
Dont precalculate mask in loop body
...
No need since we dont shift. Avoids the extra mask instructions for the
not found case.
2024-02-25 09:57:42 +05:30
Kovid Goyal
a32e1aafa6
...
2024-02-25 09:57:41 +05:30
Kovid Goyal
f9fd6ffd46
Use only aligned loads for index funcs
...
Also obviates the necessity for safe slice wrappers
2024-02-25 09:57:41 +05:30
Kovid Goyal
31a5fcf297
DRYer
2024-02-25 09:57:41 +05:30
Kovid Goyal
493fc900e9
Fix build on ARM
2024-02-25 09:57:41 +05:30
Kovid Goyal
3abdc54e4b
...
2024-02-25 09:57:41 +05:30