aboutsummaryrefslogtreecommitdiff
path: root/src/Data/Array/Nested/Mixed.hs
Commit message (Collapse)AuthorAge
* Add pragmas to functions that -fprof-late-overloaded-calls reportsMikolaj Konarski2026-02-18
| | | | | | | as breaking the chain of specialization (but it's currently broken, so these may be false positives, but these pragmas may be handy in the future anyway and they can't do much harm in theory and in practice they are right now neutral performance-wise).
* Add mtoListPrimLinear and friendsMikolaj Konarski2026-02-18
|
* Add mslice to be typing-wise a counterpart of mappendMikolaj Konarski2026-02-18
|
* Save some VS.concat by using toVectorListTMikolaj Konarski2026-02-12
|
* Let X.fromListOuterSN and ravelOuterN take NonEmptyMikolaj Konarski2026-02-12
|
* Don't force a list of identical elementsMikolaj Konarski2026-02-12
| | | | | | | | | This makes a big difference when a pair of lists is attempted to be streamed and the first one is of trivial primitive elements (e.g., when implementing a fold as a special case of mapAccum with the output list containing only ()). Forcing the first trivial list would cause the second non-trivial list to be represented as nested thunks, burdening GC greatly.
* Simplify and slightly speed up internal fromList functionsMikolaj Konarski2026-02-12
|
* Inline most lifting wrappersMikolaj Konarski2026-02-12
| | | | | | | This results in only marginal performance gain, probably because they are already small enough to be specialized and/or inlined automatically, but these pragmas ensure it remains so regardless of changes in GHC heuristics.
* Document that mshapeTree is partialHEADmild-tweaks-repackagedmasterMikolaj Konarski2026-02-12
|
* Fix f in SMayNat to always be SNat and UNPACK itMikolaj Konarski2026-01-31
|
* Speed up the bad case of mvecsReplicate using mvecsWriteLinearMikolaj Konarski2026-01-31
|
* Express mvecsWrite and mvecsWritePartial using the new methodsMikolaj Konarski2026-01-31
| | | | | | | and change the type of the latter to make it possible. This slightly improves performance of horde-ad tests, before horde-ad even starts using the Linear methods, which improves performance even more.
* Add mvecsWriteLinear and mvecsWritePartialLinear (unused yet)Mikolaj Konarski2026-01-31
|
* Add mvecsReplicateMikolaj Konarski2026-01-31
|
* Improve haddocks of mvecsUnsafeFreezeTom Smeding2026-01-31
|
* Add method mvecsUnsafeFreeze and use itMikolaj Konarski2026-01-31
|
* Doc commentsTom Smeding2025-12-02
|
* Generalize mgeneratePrim to potentially avoid @fmap fromIntegral@Mikolaj Konarski2025-12-02
|
* Define mgeneratePrim as a fast special case variantMikolaj Konarski2025-12-02
|
* Expose the unfolding of the indexing operationsMikolaj Konarski2025-12-01
|
* Fix error messages for pi/fromRational in MixedTom Smeding2025-11-22
| | | | Thanks Mikolaj!
* Also replace replicateScal -> replicatePrim in error messagesTom Smeding2025-11-18
|
* Make first type arg of {m,s}emptyArray the shapeTom Smeding2025-11-17
|
* Rename, organise and cleanupTom Smeding2025-11-17
| | | | | | | Renamings: - *sumOuter1 -> *sumOuter1Prim - *rerank -> *rerankPrim - *replicateScal -> *replicatePrim
* Provide explicit-length versions of fromList functionsTom Smeding2025-11-17
|
* mshapeTreeIsEmpty: allow partially-zero shapes for nested arraysTom Smeding2025-11-17
|
* arith: Add IntElt instances for Int8 and Int16Tom Smeding2025-11-15
|
* Support Int16 and Int8Tom Smeding2025-11-15
|
* Fix rerank docsTom Smeding2025-06-30
|
* Apply a small fraction of hlint hintsMikolaj Konarski2025-06-30
|
* Flip some index/shape-related functionsTom Smeding2025-06-29
| | | | | This ensures that the argument order consistently puts the main thing being operated on at the end, and supporting singletons at the start.
* Tweak haddocs and comments slightlyMikolaj Konarski2025-06-26
|
* Add shape checking to [rms]zipTom Smeding2025-06-04
|
* Reorganise and clean up {from,to}List functionsTom Smeding2025-06-04
|
* Run stylish-haskellMikolaj Konarski2025-05-17
|
* Merge both Lemmas modulesMikolaj Konarski2025-05-17
|
* Move modules Permutation and TypesMikolaj Konarski2025-05-16
|
* Shape/index function renameTom Smeding2025-05-16
|
* default-show-instances flagTom Smeding2025-05-16
|
* Move casts to DAN.Convert; split Ranked/Shaped types into .BaseTom Smeding2025-05-15
|
* mcastSafe was unsound; it's now goneTom Smeding2025-05-15
|
* Move Data.Array.Arith to Data.Array.Strided.OrthotopeTom Smeding2025-05-15
|
* Move Arith, XArray and ConvertMikolaj Konarski2025-05-14
|
* Rename the three main public tensor API modulesMikolaj Konarski2025-05-14
|
* Clearer module purposesTom Smeding2024-05-30
| | | | Thanks Mikolaj for discussion
* Refactor Nested (modules, function names)Tom Smeding2024-05-30