Re: [Haskell-cafe] [Haskell-beginners] vector indexing time
4 Aug
2012
4 Aug
'12
3:21 a.m.
Thank you for that insight. :) On Fri, Aug 3, 2012 at 4:50 AM, Heinrich Apfelmus <apfelmus@quantentunnel.de
wrote:
Creating the vector still takes time proportional to the length of the vector. In fact, it appears that in your example, the vector packages optimizes the creation time to create only up to the element that you actually demand.
The linear time you're seeing is not the result of an inefficiency of vector indexing, but the result of an efficiency in vector creation.
Best regards, Heinrich Apfelmus
-- -- Regards, KC
5098
Age (days ago)
5098
Last active (days ago)
0 comments
1 participants
participants (1)
-
KC