Commit Graph

2986 Commits

Author SHA1 Message Date
dzaima
a9f59b5793 mention target_os in README 2024-07-15 00:56:02 +03:00
dzaima
3e9af0a910 fast-path for n•rand.Range 1 2024-07-15 00:56:02 +03:00
dzaima
2dd3798228 more Singeli cleanup 2024-07-15 00:56:02 +03:00
dzaima
2436c45f1d Singeli ceil_log2 for compile-time numbers 2024-07-15 00:52:00 +03:00
dzaima
66a8529d88 remove redundant parentheses in Singeli destructuring 2024-07-15 00:52:00 +03:00
dzaima
59515acc90 test variations of erroring ⊏ 2024-07-15 00:52:00 +03:00
dzaima
ed2198c06a disable tail calls in bqn_fmt & bqn_repr
far from performance-critical, but helpful for stack traces
2024-07-15 00:52:00 +03:00
dzaima
f79e4c6d0a make /(m?zip(128)?|pack)(Lo|Hi)/ not have Lo/Hi as part of name
instead being an optional 3rg arg
2024-07-15 00:52:00 +03:00
dzaima
a671ec9462 aarch64 bittab 2024-07-13 00:10:34 +03:00
dzaima
6dbe76727f update offset for stacktraces on FLDG 2024-07-13 00:10:34 +03:00
dzaima
838639e610 fix gcc-9 build 2024-07-10 03:54:44 +03:00
dzaima
7aab7ceb8b cleanup 2024-07-10 03:44:05 +03:00
dzaima
2bc1ba9f4a fix aarch64 squeeze 2024-07-10 03:43:58 +03:00
dzaima
52d1e61fe0 don't bother early-exiting on masked iteration 2024-07-10 03:24:10 +03:00
dzaima
2fdd72f1c4 faster <SSE4.1 integer accumulating in squeeze 2024-07-10 03:18:17 +03:00
dzaima
a45925b0c6 fix SSE2 squeeze 2024-07-10 03:18:17 +03:00
dzaima
f941245b34 avoid needing two final folds on x86 2024-07-10 03:18:17 +03:00
dzaima
40a5c40bda faster squeeze 2024-07-10 03:18:17 +03:00
dzaima
d66be091be shufps Singeli mapping 2024-07-10 00:55:43 +03:00
dzaima
e96948cb64 Singeli zip128 2024-07-10 00:55:43 +03:00
dzaima
a8af920dc9 •internal.PureKeep 2024-07-10 00:55:43 +03:00
dzaima
01b1ee3637 make ⊢¨ more consistent with other PureIdentFn¨
incl. making ⊢¨ not leak xf under EACH_FILLS
2024-07-10 00:55:43 +03:00
dzaima
826179c83d •internal utility for getting & setting object flags 2024-07-08 22:53:29 +03:00
dzaima
352f22f8f6 don't vectorize tiny loop
could theoretically maybe be beneficial for functions with a hilarious
number of arguments, but whatever. Improves perf on few-argument
functions from not unrolling/vectorizing.
2024-07-08 04:25:27 +03:00
dzaima
3e24442011 use ux in base cmp 2024-07-08 04:25:27 +03:00
dzaima
c466db24bc
Merge pull request #114 from mlochbaum/simplify
Miscellaneous strength reductions
2024-07-08 04:23:42 +03:00
Marshall Lochbaum
d625fc0d21 Some tests for rank, type, etc. errors in cells/rank 2024-07-07 15:52:33 -04:00
Marshall Lochbaum
201fe1e57c Extend fold_rows to any rank, as long as stride is 1 2024-07-05 17:44:42 -04:00
Marshall Lochbaum
48d77e722f Extend ˝ to ´ conversion (for singleton cells) to any rank 2024-07-05 17:44:42 -04:00
Marshall Lochbaum
46704defb6 Convert list⊸↑˘ to a single ↑ call, likewise ↓ and ⌽ 2024-07-05 17:44:42 -04:00
Marshall Lochbaum
ce98efc525 Transform atom⊸⌽⎉k into a single high-rank ⌽ call 2024-07-05 17:44:42 -04:00
Marshall Lochbaum
3b49294145 Specialize ApdMut to reshape if there's only one append 2024-07-05 17:44:42 -04:00
Marshall Lochbaum
76a40491e9 Remove some rank restrictions from for_cells_SA 2024-07-05 17:44:42 -04:00
Marshall Lochbaum
4450d36187 Better handling for «˘ and »˘ trivial cases 2024-07-05 17:44:42 -04:00
Marshall Lochbaum
d89a6da2da Evaluate monadic «» on a length-1 argument by reshaping the fill 2024-07-05 17:44:42 -04:00
Marshall Lochbaum
6eca24ce0a Special code for ∾˝˘ and fold-cells of empty 2024-07-05 17:44:42 -04:00
Marshall Lochbaum
9d5caad9a9 Compute Insert identity natively 2024-07-05 17:44:42 -04:00
Marshall Lochbaum
5d4391a3fd Combine monadic ˘ with outer ˘ or ⎉ 2024-07-05 17:44:42 -04:00
Marshall Lochbaum
a19b5401f7 Fast cases for monadic rank with cell length ≤1 2024-07-05 17:44:42 -04:00
Marshall Lochbaum
8766810db8 Rank-agnostic select_cells 2024-07-04 12:04:00 -04:00
Marshall Lochbaum
ab15eaeeeb Length-1 reverse is a no-op 2024-07-04 12:04:00 -04:00
dzaima
2ce983041c fix shared •HashMap value list 2024-06-30 14:06:05 +03:00
dzaima
9c05b68870 ubsan option for build.bqn 2024-06-29 17:12:12 +03:00
dzaima
47b5d7d832 fix harmless copy-paste error 2024-06-29 04:38:44 +03:00
dzaima
d8a79145a6 add no-catch option to test/run.bqn 2024-06-29 02:59:44 +03:00
dzaima
0319be27ea fix bad error message on /⁼3‿3⥊0 2024-06-29 02:59:15 +03:00
dzaima
7eb60d4ec1 correct ElType comment 2024-06-29 02:33:46 +03:00
dzaima
d885a7d965 don't leave the temporary bootstrap CBQN around 2024-06-26 06:41:27 +03:00
dzaima
79127db4a2
Merge pull request #113 from mlochbaum/fold-rows
Boolean row insert and scan
2024-06-26 06:41:00 +03:00
dzaima
6824b9a747 fix another unaligned load 2024-06-26 06:09:30 +03:00