aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Optimize slightly sh?FromList and sh?ToListmild-tweaks-repackagedMikolaj Konarski4 days
|
* Implement ranked shape conversions as newtype coercesMikolaj Konarski4 days
|
* Make ShR a newtype over ShXMikolaj Konarski4 days
|
* Add the trivial Eq and Ord instances also for StaticShXMikolaj Konarski4 days
|
* Prefer newtype deriving over Generic deriving for simplicityMikolaj Konarski4 days
|
* Temporarily remove the UNPACK, until GHC is fixed not to crash with itMikolaj Konarski4 days
|
* Optimize the representation of ListHMikolaj Konarski4 days
|
* Inline SMayNat in ListHMikolaj Konarski4 days
|
* Clone ListX into ListHMikolaj Konarski4 days
|
* Simplify the signature of fooIndexMikolaj Konarski4 days
|
* Implement shxFromShS and shsFromShX as a newtype coerceMikolaj Konarski4 days
|
* Make ShS a newtype over ShXMikolaj Konarski4 days
| | | | TODO: use lemmas in place of the unsafeCoerceRefl
* Work around the following GHC bug in GHC 9.10.3:Mikolaj Konarski4 days
| | | | | | | | | | | | | | | | src/Data/Array/Nested/Mixed.hs:1045:13: error: [GHC-83865] • Couldn't match type ‘i0’ with ‘Int’ Expected: ShX sh i0 Actual: ShX sh1 Int ‘i0’ is untouchable inside the constraints: (n1 : sh1) ~ (AddMaybe (AddMaybe i n) k : sh) bound by UnkSkol (please report this as a bug) Call stack: CallStack (from HasCallStack): unkSkolAnon, called at compiler/GHC/Tc/Types/Origin.hs:331:42 in ghc-9.10.3-b4c3:GHC.Tc.Types.Origin unkSkol, called at compiler/GHC/Tc/Gen/Pat.hs:1275:49 in ghc-9.10.3-b4c3:GHC.Tc.Gen.Pat at src/Data/Array/Nested/Mixed.hs:1045:7-14
* Depend on the versions of orthotope that have toVectorListTHEADuncontroversial-tweaks-repackagedmasterMikolaj Konarski4 days
|
* Add a precautionary INLINEABLE to the now polymorphic shsTakeIxMikolaj Konarski4 days
|
* Add mtoListPrimLinear and friendsMikolaj Konarski4 days
|
* Add mslice to be typing-wise a counterpart of mappendMikolaj Konarski4 days
|
* Fix typo and reword docsTom Smeding4 days
|
* Add a bang not to overlap big allocationsMikolaj Konarski4 days
|
* Uniformise indentationTom Smeding4 days
|
* Save some toVector by using toVectorListTMikolaj Konarski4 days
|
* Let X.fromListOuterSN and ravelOuterN take NonEmptyMikolaj Konarski4 days
|
* Don't force a list of identical elementsMikolaj Konarski4 days
| | | | | | | | | 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.
* Variable naming and doc commentsTom Smeding4 days
|
* 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.
* Make it clear that ravelOuterN is called just onceMikolaj Konarski2026-02-12
|
* Add a potentialy helpful bang for consistencyMikolaj Konarski2026-02-12
|
* Document that mshapeTree is partialMikolaj Konarski2026-02-12
|
* Add benchmarks for sumFullMikolaj Konarski2026-01-31
|
* Make library strided-array-ops publicMikolaj Konarski2026-01-31
|
* Add a few more GHC warnings and fix all offendersMikolaj Konarski2026-01-31
|
* Mute the pattern-namespace-specifier warning until things can be fixedMikolaj Konarski2026-01-31
|
* Improve the implementation of the other fromSNat'Mikolaj Konarski2026-01-31
|
* Improve the implementation of fromSNat'Mikolaj Konarski2026-01-31
| | | | leading to 6% lower allocation in Det.hs primal test.
* Fix f in SMayNat to always be SNat and UNPACK itMikolaj Konarski2026-01-31
|
* Implement Tom's ixsFromIxSMikolaj Konarski2026-01-31
| | | | | | that really helps in processing indexes using list functions and getting back to the same type of index now that KnownNat is removed from IxS and so the type information is harder to preserve.
* Make type variables consistent between shaped and mixed listsMikolaj Konarski2026-01-31
|
* Generalize shsTakeIxMikolaj 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
|
* Remove the preposterous shsFromListS and shsFromIxSMikolaj Konarski2026-01-31
|
* Generalize ix?ToLinear and speed it up a bitMikolaj Konarski2026-01-31
|
* Add INLINEABLE to ixxToLinear ahead of generalization, to benchmarkMikolaj Konarski2026-01-31
| | | | No horde-ad test speedup noticed.
* Improve haddocks of mvecsUnsafeFreezeTom Smeding2026-01-31
|
* Add method mvecsUnsafeFreeze and use itMikolaj Konarski2026-01-31
|
* Make arith enums disjointTom Smeding2026-01-31
| | | | | | This should prevent operation confusion like calling oxarop_binary_* with IB_QUOT. No error is thrown statically, but at least the nonsense operation crashes reliably at runtime instead of doing, well, nonsense.
* Fix a typo in IntElt IntMikolaj Konarski2026-01-31
|