dzaima
ddb8d7c111
use ux instead of usz as the loop index in another place
2025-07-01 02:08:54 +03:00
dzaima
6617540333
add basic large constant replicate base-case
2025-06-26 16:36:30 +03:00
dzaima
e4d024e031
comments about potential inds⊸⊏˘bitmat optimizations
2025-06-19 20:54:35 +03:00
dzaima
dcf150cef2
avoid unnecessarily copying •FBytes result
2025-06-15 03:59:03 +03:00
dzaima
307be40ac7
ensure accessible memory around mmapped files
2025-06-15 03:41:58 +03:00
dzaima
200d4f6900
more proper FILE* closing in path_bytes
2025-06-15 03:37:01 +03:00
dzaima
1be7ff51cc
disable Singeli's arch determining in "native target-from-cc" builds
2025-06-14 21:06:10 +03:00
dzaima
597e59c085
add STRICT_ALIGN, use by default in FOR_BUILD
2025-06-14 19:28:00 +03:00
dzaima
1c77e3b06d
add IS_TYSLICE & SLICE_TO_ARR, clean up array/slice check names
...
IS_SLICE → ARR_IS_SLICE as it assumes the argument type is already an array type
2025-06-14 18:46:00 +03:00
dzaima
ede87b4800
fix •bit._neg & •bit._not reuse check
2025-06-13 02:29:30 +03:00
dzaima
ce48dd1bca
clear flags on •bit._neg & •bit._not reuse
2025-06-13 02:21:25 +03:00
dzaima
932f388cdf
fix bugs when GC changes refcounts
2025-06-13 02:07:53 +03:00
dzaima
e8f5595536
don't try to use fancy stack frame printer during GC
...
as it'll likely end up wanting to GC itself, and nested GC isn't allowed
2025-06-13 01:18:29 +03:00
dzaima
2160f4001d
clear flags on •bit._cast reuse
2025-06-13 01:00:11 +03:00
dzaima
58d5f47e98
fix printf
2025-06-12 04:42:28 +03:00
dzaima
d9007c3136
use errMd more
2025-06-11 18:07:31 +03:00
dzaima
634cf82fbe
use reshape_one instead of manual mut_fill more
2025-06-11 17:47:14 +03:00
dzaima
abb9adbc50
make SEMANTIC_CATCH work without USE_SETJMP
2025-06-11 17:47:14 +03:00
dzaima
53f331112f
don't have weird "𝕨˘𝕩" in error messages
2025-06-11 17:24:45 +03:00
dzaima
2a853dbfcd
cleanup
2025-06-11 00:47:11 +03:00
dzaima
a756174483
fix WARN_SLOW build
...
WARN_SLOW has generally been forgotten about, but no harm keeping it working; this looks at x's bits explicitly after it's consumed, but it's not dereferenced so it's "fine"
2025-06-09 23:02:17 +03:00
dzaima
b95fb8097d
debug assert for proper getter indices
2025-06-09 18:54:18 +03:00
dzaima
c294b07f5f
don't bother raveling a rank-1 array for replicating
2025-06-09 18:07:31 +03:00
dzaima
671efcc948
better inlining split
2025-06-08 23:49:20 +03:00
dzaima
8c22564b41
better 64-bit CHECK_IA
...
allows it to be lowered to (x>>48)==0, avoiding initializing a 64-bit constant
2025-06-08 23:49:18 +03:00
dzaima
0b678bc274
move some fill/eltype array creation helpers into core includes
2025-06-08 21:53:19 +03:00
dzaima
2447eb25cf
semantically squeeze F⌜ result
2025-06-08 18:55:38 +03:00
dzaima
286067ad51
some F⌜ shape management refactoring
...
avoids having two arr_shAlloc invocations, and also makes ⊢⌜ direct
2025-06-08 18:35:57 +03:00
dzaima
c90674313b
reduce reshape+replicate-based Arith⌜ constant overhead
2025-06-08 18:10:01 +03:00
dzaima
0a561bce2b
better number/character fill checks
...
as the only valid number fill is 0, full isNum check is pointless
2025-06-08 17:50:37 +03:00
dzaima
2447ebe734
faster emptyArr
2025-06-08 17:10:01 +03:00
dzaima
11da303f4c
final test cleanup
2025-06-07 20:06:15 +03:00
dzaima
7db91b9785
modernize imports test
2025-06-01 17:42:22 +03:00
dzaima
2918436b08
make test/run lint not complain on lines with _eqvar
2025-06-01 07:08:59 +03:00
dzaima
2f18d6d72d
drop "test/cases/" prefix from test/run.bqn args if present
...
allows autocompleting
2025-06-01 07:07:18 +03:00
dzaima
2f18c0546f
split up & move test/various.bqn to test/run.bqn system
2025-06-01 07:03:24 +03:00
dzaima
a987efea5b
move test/hashmap.bqn to test/run.bqn system
2025-06-01 07:03:24 +03:00
dzaima
405d0ee0e1
move test/random.bqn to test/run.bqn system
2025-06-01 07:03:24 +03:00
dzaima
01fea8904d
move test/mut.bqn to test/run.bqn system
2025-06-01 07:03:19 +03:00
dzaima
6812185e06
move test/copy.bqn to test/run.bqn system
2025-06-01 06:08:58 +03:00
dzaima
3da8a8931b
move test/cmp.bqn to test/run.bqn system
2025-06-01 06:07:50 +03:00
dzaima
6a5ce4c11b
move test/equal.bqn to test/run.bqn system
2025-06-01 06:07:44 +03:00
dzaima
315d8681d1
move test/bit.bqn to test/run.bqn system
2025-06-01 06:06:50 +03:00
dzaima
2da4422434
move test/hash.bqn to test/run.bqn system
2025-06-01 06:06:50 +03:00
dzaima
b049fe196d
move test/squeezeValid.bqn & test/squeezeExact.bqn to test/run.bqn system
2025-06-01 06:06:25 +03:00
dzaima
a57afad9d7
move test/bitcpy.bqn to test/run.bqn system
2025-06-01 06:05:34 +03:00
dzaima
c67afd6e52
add a way to allow ⎊-ful tests to run in noerr mode
2025-06-01 05:55:55 +03:00
dzaima
5d7caab374
add a way to define whole-file tests with test/run.bqn
2025-06-01 05:40:14 +03:00
dzaima
7d55317ec4
add a way to get a seeded random source from test/run.bqn
2025-06-01 05:40:14 +03:00
dzaima
4296c42534
fix unshare with heuristic randomization
2025-06-01 05:40:14 +03:00