[Haskell-cafe] implementing python-style dictionary in Haskell

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Nov 18 05:54:51 EST 2008


Hello kenny,

Tuesday, November 18, 2008, 1:37:36 PM, you wrote:

> The above number shows that my implementations of python style
> dictionary  are space/time in-efficient as compared to python. 

thanks, interesting code

1. why you think that your code should be faster? pythob
implementation is probably written in C ince it's one of its core data
structures

2. you can solve IntMap problem by storing list of values with the
same hash in tree's nodes


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list