darcs-mirrors/vector.git
9 years agoTrim imports
Roman Leshchinskiy [Wed, 7 Apr 2010 03:06:41 +0000 (03:06 +0000)] 
Trim imports

9 years agoData and Typeable instances for immutable vectors
Roman Leshchinskiy [Wed, 7 Apr 2010 02:44:50 +0000 (02:44 +0000)] 
Data and Typeable instances for immutable vectors

9 years agoAdd comment
Roman Leshchinskiy [Wed, 7 Apr 2010 00:13:20 +0000 (00:13 +0000)] 
Add comment

9 years agoRemove comment
Roman Leshchinskiy [Wed, 7 Apr 2010 00:12:31 +0000 (00:12 +0000)] 
Remove comment

9 years agoChange impl of reverse
Roman Leshchinskiy [Wed, 7 Apr 2010 00:12:23 +0000 (00:12 +0000)] 
Change impl of reverse

9 years agoStore Ptr to data instead of offset in storable vectors
Roman Leshchinskiy [Sun, 4 Apr 2010 13:20:17 +0000 (13:20 +0000)] 
Store Ptr to data instead of offset in storable vectors

9 years agoNuke cbits
Roman Leshchinskiy [Sun, 4 Apr 2010 12:57:04 +0000 (12:57 +0000)] 
Nuke cbits

9 years agoUse memcpy from primitive
Roman Leshchinskiy [Sun, 4 Apr 2010 12:55:46 +0000 (12:55 +0000)] 
Use memcpy from primitive

9 years agoUse memcpy for copying vectors where appropriate
Roman Leshchinskiy [Sun, 21 Feb 2010 12:26:02 +0000 (12:26 +0000)] 
Use memcpy for copying vectors where appropriate

9 years agoRequire primitive 0.3
Roman Leshchinskiy [Sun, 21 Feb 2010 12:25:47 +0000 (12:25 +0000)] 
Require primitive 0.3

9 years agoAdd fromListN
Roman Leshchinskiy [Sun, 21 Feb 2010 02:48:27 +0000 (02:48 +0000)] 
Add fromListN

9 years agoAdd unfoldrN
Roman Leshchinskiy [Sun, 21 Feb 2010 02:28:11 +0000 (02:28 +0000)] 
Add unfoldrN

9 years agoExport munstream and munstreamR from ./Data/Vector/Generic/Mutable.hs
Don Stewart [Sun, 21 Feb 2010 01:17:24 +0000 (01:17 +0000)] 
Export munstream and munstreamR from ./Data/Vector/Generic/Mutable.hs

9 years agoBump version number
Roman Leshchinskiy [Sun, 21 Feb 2010 02:14:34 +0000 (02:14 +0000)] 
Bump version number

9 years agoExport apply and modify from Data.Vector.Generic.New
dan.doel [Sat, 27 Feb 2010 07:34:34 +0000 (07:34 +0000)] 
Export apply and modify from Data.Vector.Generic.New

9 years agoSpecialize enumFromTo for Double and Float
Don Stewart [Sun, 21 Feb 2010 00:51:45 +0000 (00:51 +0000)] 
Specialize enumFromTo for Double and Float

9 years agoAdd link to tutorial in .cabal file
Don Stewart [Sat, 20 Feb 2010 02:38:35 +0000 (02:38 +0000)] 
Add link to  tutorial in .cabal file

9 years agoWork around simplifier problem in 6.12
Roman Leshchinskiy [Fri, 19 Feb 2010 08:39:20 +0000 (08:39 +0000)] 
Work around simplifier problem in 6.12

See [HACKS:Eq and Ord instances]

9 years agoCompile with -fno-method-sharing for ghc < 6.13
Roman Leshchinskiy [Fri, 19 Feb 2010 08:38:33 +0000 (08:38 +0000)] 
Compile with -fno-method-sharing for ghc < 6.13

This turns out to have a lot of beneficial effects on the code.

9 years agoNew file HACKS which explains various performance hacks in the library
Roman Leshchinskiy [Fri, 19 Feb 2010 04:39:05 +0000 (04:39 +0000)] 
New file HACKS which explains various performance hacks in the library

9 years agoMake null fuse properly
Roman Leshchinskiy [Wed, 17 Feb 2010 13:12:00 +0000 (13:12 +0000)] 
Make null fuse properly

9 years agoBump version
Roman Leshchinskiy [Wed, 17 Feb 2010 08:32:57 +0000 (08:32 +0000)] 
Bump version

9 years agoFix typo
Roman Leshchinskiy [Wed, 17 Feb 2010 08:32:52 +0000 (08:32 +0000)] 
Fix typo

9 years agoDocumentation only (for Data.Vector module)
Don Stewart [Tue, 16 Feb 2010 04:25:38 +0000 (04:25 +0000)] 
Documentation only (for Data.Vector module)

9 years agoImport uvector microbenchmarks for fusion
Don Stewart [Mon, 15 Feb 2010 20:44:15 +0000 (20:44 +0000)] 
Import uvector microbenchmarks for fusion

9 years agoFix dependency on base 0_5
Roman Leshchinskiy [Mon, 15 Feb 2010 05:26:37 +0000 (05:26 +0000)] 
Fix dependency on base

9 years agoUpdate homepage and copyright notices
Roman Leshchinskiy [Mon, 15 Feb 2010 04:02:05 +0000 (04:02 +0000)] 
Update homepage and copyright notices

9 years agoAdd facilities for accessing the memory of Storable vectors
Roman Leshchinskiy [Mon, 15 Feb 2010 03:53:10 +0000 (03:53 +0000)] 
Add facilities for accessing the memory of Storable vectors

9 years agoExport swap and unsafeSwap
Roman Leshchinskiy [Mon, 15 Feb 2010 03:13:47 +0000 (03:13 +0000)] 
Export swap and unsafeSwap

9 years agoAdd changelog to package description
Roman Leshchinskiy [Sun, 20 Dec 2009 12:02:55 +0000 (12:02 +0000)] 
Add changelog to package description

9 years agoSmall optimisation
Roman Leshchinskiy [Tue, 15 Dec 2009 13:55:36 +0000 (13:55 +0000)] 
Small optimisation

9 years agoDelay inlining min and max in take and drop
Roman Leshchinskiy [Sat, 12 Dec 2009 00:00:23 +0000 (00:00 +0000)] 
Delay inlining min and max in take and drop

9 years agoAdd tests
Roman Leshchinskiy [Fri, 11 Dec 2009 07:32:46 +0000 (07:32 +0000)] 
Add tests

9 years agoAdd enumFromN, enumFromStepN
Roman Leshchinskiy [Fri, 11 Dec 2009 07:22:06 +0000 (07:22 +0000)] 
Add enumFromN, enumFromStepN

9 years agoFix size checks in enumFromTo specialisations
Roman Leshchinskiy [Fri, 11 Dec 2009 06:17:16 +0000 (06:17 +0000)] 
Fix size checks in enumFromTo specialisations

9 years agoAdd partition
Roman Leshchinskiy [Fri, 11 Dec 2009 02:22:27 +0000 (02:22 +0000)] 
Add partition

9 years agoAdd foldr', foldr1', ifoldr'
Roman Leshchinskiy [Fri, 11 Dec 2009 01:52:15 +0000 (01:52 +0000)] 
Add foldr', foldr1', ifoldr'

9 years agoRearrange code
Roman Leshchinskiy [Fri, 11 Dec 2009 01:28:50 +0000 (01:28 +0000)] 
Rearrange code

9 years agoMake findIndices inplace-fusible
Roman Leshchinskiy [Fri, 11 Dec 2009 01:28:25 +0000 (01:28 +0000)] 
Make findIndices inplace-fusible

9 years agounsafeTake and unsafeDrop in Mutable
Roman Leshchinskiy [Fri, 11 Dec 2009 01:23:12 +0000 (01:23 +0000)] 
unsafeTake and unsafeDrop in Mutable

9 years agoAdd exchange
Roman Leshchinskiy [Fri, 11 Dec 2009 01:19:27 +0000 (01:19 +0000)] 
Add exchange

9 years agoSmall refactoring
Roman Leshchinskiy [Fri, 11 Dec 2009 00:35:56 +0000 (00:35 +0000)] 
Small refactoring

9 years agoAdd swap
Roman Leshchinskiy [Fri, 11 Dec 2009 00:35:03 +0000 (00:35 +0000)] 
Add swap

9 years agoRearrange code
Roman Leshchinskiy [Fri, 11 Dec 2009 00:28:14 +0000 (00:28 +0000)] 
Rearrange code

9 years agoRearrange code and add a couple of mutable operations
Roman Leshchinskiy [Thu, 10 Dec 2009 15:52:31 +0000 (15:52 +0000)] 
Rearrange code and add a couple of mutable operations

9 years agoRearrange code
Roman Leshchinskiy [Thu, 10 Dec 2009 15:43:10 +0000 (15:43 +0000)] 
Rearrange code

9 years agoAlways grow vectors by a factor of 2
Roman Leshchinskiy [Thu, 10 Dec 2009 15:37:53 +0000 (15:37 +0000)] 
Always grow vectors by a factor of 2

9 years agoBump version and fix author/copyright
Roman Leshchinskiy [Thu, 10 Dec 2009 12:15:35 +0000 (12:15 +0000)] 
Bump version and fix author/copyright

9 years agoUse unsafeTake and unsafeDrop in unstablePartition
Roman Leshchinskiy [Thu, 10 Dec 2009 12:11:05 +0000 (12:11 +0000)] 
Use unsafeTake and unsafeDrop in unstablePartition

9 years agoUse unsafeSlice in take and drop
Roman Leshchinskiy [Thu, 10 Dec 2009 12:09:22 +0000 (12:09 +0000)] 
Use unsafeSlice in take and drop

9 years agoTest more D.V.Unboxed variants
Roman Leshchinskiy [Thu, 10 Dec 2009 10:46:21 +0000 (10:46 +0000)] 
Test more D.V.Unboxed variants

9 years agoAdd comment
Roman Leshchinskiy [Thu, 10 Dec 2009 10:34:23 +0000 (10:34 +0000)] 
Add comment

9 years agoChange enlarge to eliminate a join point
Roman Leshchinskiy [Thu, 10 Dec 2009 10:34:08 +0000 (10:34 +0000)] 
Change enlarge to eliminate a join point

9 years agoUse unsafeSlice instead of slice in internal functions
Roman Leshchinskiy [Thu, 10 Dec 2009 10:33:47 +0000 (10:33 +0000)] 
Use unsafeSlice instead of slice in internal functions

9 years agoFix bad bug in D.V.Unboxed.basicUnsafeGrow
Roman Leshchinskiy [Thu, 10 Dec 2009 10:33:23 +0000 (10:33 +0000)] 
Fix bad bug in D.V.Unboxed.basicUnsafeGrow

9 years agoRearrange tests somewhat
Roman Leshchinskiy [Thu, 10 Dec 2009 06:55:57 +0000 (06:55 +0000)] 
Rearrange tests somewhat

9 years agoD.V.Unboxed tests
Roman Leshchinskiy [Thu, 10 Dec 2009 06:48:57 +0000 (06:48 +0000)] 
D.V.Unboxed tests

9 years agoDummy Show instance for D.V.Unboxed
Roman Leshchinskiy [Thu, 10 Dec 2009 06:46:44 +0000 (06:46 +0000)] 
Dummy Show instance for D.V.Unboxed

9 years agoTests of minIndex and maxIndex
Roman Leshchinskiy [Thu, 10 Dec 2009 06:31:49 +0000 (06:31 +0000)] 
Tests of minIndex and maxIndex

9 years agoAdd lots of tests for new functions
Roman Leshchinskiy [Thu, 10 Dec 2009 06:23:32 +0000 (06:23 +0000)] 
Add lots of tests for new functions

9 years agoFix signatures of right-to-left scans
Roman Leshchinskiy [Thu, 10 Dec 2009 06:21:44 +0000 (06:21 +0000)] 
Fix signatures of right-to-left scans

9 years agoFix bug in unstreamR
Roman Leshchinskiy [Thu, 10 Dec 2009 06:21:32 +0000 (06:21 +0000)] 
Fix bug in unstreamR

9 years agoAdapt to new vector interface
Roman Leshchinskiy [Thu, 10 Dec 2009 05:32:47 +0000 (05:32 +0000)] 
Adapt to new vector interface

9 years agoWork around 6.10.4 bug
Roman Leshchinskiy [Thu, 10 Dec 2009 05:16:31 +0000 (05:16 +0000)] 
Work around 6.10.4 bug

9 years agoUse basic* functions in default methods of MVector
Roman Leshchinskiy [Thu, 10 Dec 2009 05:15:21 +0000 (05:15 +0000)] 
Use basic* functions in default methods of MVector

9 years agoRight-to-left scans
Roman Leshchinskiy [Thu, 10 Dec 2009 04:41:51 +0000 (04:41 +0000)] 
Right-to-left scans

9 years agoRight-to-left streaming/unstreaming
Roman Leshchinskiy [Thu, 10 Dec 2009 04:41:41 +0000 (04:41 +0000)] 
Right-to-left streaming/unstreaming

9 years agoDelay inlining of size computations in enumFromTo
Roman Leshchinskiy [Thu, 10 Dec 2009 03:59:18 +0000 (03:59 +0000)] 
Delay inlining of size computations in enumFromTo

9 years agoUse more unsafe functions internally
Roman Leshchinskiy [Wed, 9 Dec 2009 23:41:14 +0000 (23:41 +0000)] 
Use more unsafe functions internally

9 years agoAdd unsafeBackpermute
Roman Leshchinskiy [Wed, 9 Dec 2009 14:34:24 +0000 (14:34 +0000)] 
Add unsafeBackpermute

9 years agoAdd unsafeTake, unsafeDrop
Roman Leshchinskiy [Wed, 9 Dec 2009 14:28:09 +0000 (14:28 +0000)] 
Add unsafeTake, unsafeDrop

9 years agoAdd unsafeInit and unsafeTail
Roman Leshchinskiy [Wed, 9 Dec 2009 14:21:11 +0000 (14:21 +0000)] 
Add unsafeInit and unsafeTail

9 years agoClean up handling of New.slice and friends
Roman Leshchinskiy [Wed, 9 Dec 2009 14:20:53 +0000 (14:20 +0000)] 
Clean up handling of New.slice and friends

9 years agoSwitch the order of argument to slice and unsafeSlice
Roman Leshchinskiy [Wed, 9 Dec 2009 13:59:47 +0000 (13:59 +0000)] 
Switch the order of argument to slice and unsafeSlice

9 years agoAdd unsafeIndex, unsafeLast etc.
Roman Leshchinskiy [Wed, 9 Dec 2009 13:34:06 +0000 (13:34 +0000)] 
Add unsafeIndex, unsafeLast etc.

9 years agoAdd unstablePartition, span, break
Roman Leshchinskiy [Wed, 9 Dec 2009 04:51:48 +0000 (04:51 +0000)] 
Add unstablePartition, span, break

9 years agoAdd generate
Roman Leshchinskiy [Wed, 9 Dec 2009 00:14:28 +0000 (00:14 +0000)] 
Add generate

9 years agoAdd all, any
Roman Leshchinskiy [Wed, 9 Dec 2009 00:02:41 +0000 (00:02 +0000)] 
Add all, any

9 years agoAdd maximumBy, minimumBy, maxIndexBy, minIndexBy
Roman Leshchinskiy [Tue, 8 Dec 2009 23:55:28 +0000 (23:55 +0000)] 
Add maximumBy, minimumBy, maxIndexBy, minIndexBy

9 years agoAdd findIndices, elemIndex, elemIndices
Roman Leshchinskiy [Tue, 8 Dec 2009 23:39:39 +0000 (23:39 +0000)] 
Add findIndices, elemIndex, elemIndices

9 years agoAdd various elemseqs
Roman Leshchinskiy [Tue, 8 Dec 2009 23:24:49 +0000 (23:24 +0000)] 
Add various elemseqs

9 years agoAdd lots of index-related collective operations
Roman Leshchinskiy [Tue, 8 Dec 2009 15:40:40 +0000 (15:40 +0000)] 
Add lots of index-related collective operations

9 years agoGet rid of inplace'
Roman Leshchinskiy [Tue, 8 Dec 2009 03:20:19 +0000 (03:20 +0000)] 
Get rid of inplace'

9 years agoFix update
Roman Leshchinskiy [Tue, 8 Dec 2009 02:52:09 +0000 (02:52 +0000)] 
Fix update

9 years agoMake inplace and inplace' strict in the stream
Roman Leshchinskiy [Mon, 7 Dec 2009 23:54:21 +0000 (23:54 +0000)] 
Make inplace and inplace' strict in the stream

9 years agoEXPERIMENTAL: Unboxing infrastructure
Roman Leshchinskiy [Mon, 7 Dec 2009 16:02:22 +0000 (16:02 +0000)] 
EXPERIMENTAL: Unboxing infrastructure

9 years agoFix stream size calculations
Roman Leshchinskiy [Mon, 7 Dec 2009 14:59:00 +0000 (14:59 +0000)] 
Fix stream size calculations

9 years agoAvoid creating unnecessary join points in Stream.replicate
Roman Leshchinskiy [Mon, 7 Dec 2009 14:40:26 +0000 (14:40 +0000)] 
Avoid creating unnecessary join points in Stream.replicate

9 years agoAdd unsafe versions of accum/update operations
Roman Leshchinskiy [Mon, 7 Dec 2009 13:30:20 +0000 (13:30 +0000)] 
Add unsafe versions of accum/update operations

9 years agoHaddock comments
Roman Leshchinskiy [Mon, 7 Dec 2009 05:03:34 +0000 (05:03 +0000)] 
Haddock comments

9 years agoUpdate package description
Roman Leshchinskiy [Mon, 7 Dec 2009 04:58:35 +0000 (04:58 +0000)] 
Update package description

9 years agoAdd Unbox (Complex a) instances
Roman Leshchinskiy [Mon, 7 Dec 2009 04:45:17 +0000 (04:45 +0000)] 
Add Unbox (Complex a) instances

9 years agoMake Unboxed vectors of tuples strict in their components
Roman Leshchinskiy [Mon, 7 Dec 2009 04:37:06 +0000 (04:37 +0000)] 
Make Unboxed vectors of tuples strict in their components

9 years agoAdd rtransform to D.V.Generic.Mutable (not used anywhere yet)
Roman Leshchinskiy [Mon, 7 Dec 2009 04:36:44 +0000 (04:36 +0000)] 
Add rtransform to D.V.Generic.Mutable (not used anywhere yet)

9 years agoLayout
Roman Leshchinskiy [Mon, 7 Dec 2009 04:36:39 +0000 (04:36 +0000)] 
Layout

9 years agoSlight optimisation
Roman Leshchinskiy [Mon, 7 Dec 2009 04:36:21 +0000 (04:36 +0000)] 
Slight optimisation

9 years agoRename internal function
Roman Leshchinskiy [Mon, 7 Dec 2009 04:18:42 +0000 (04:18 +0000)] 
Rename internal function

9 years agoExport and & or from D.V.Unboxed
Roman Leshchinskiy [Mon, 7 Dec 2009 02:16:51 +0000 (02:16 +0000)] 
Export and & or from D.V.Unboxed

9 years agoExport accumulate and update from D.V.Unboxed
Roman Leshchinskiy [Mon, 7 Dec 2009 02:15:21 +0000 (02:15 +0000)] 
Export accumulate and update from D.V.Unboxed

9 years agoComment
Roman Leshchinskiy [Sun, 6 Dec 2009 16:15:43 +0000 (16:15 +0000)] 
Comment