wxHashMap vs. std::map

Dave Bee davebeeus at yahoo.com
Mon Sep 24 15:13:23 PDT 2007


Vadim, thank you for your reply and sorry for my late
response. I am using VC++ 2005 Express Edition on
Windows XP - is std::map faster than wxHashMap in this
case?

I agree with your personal preference of std::map
because it is more standard. Would you say the same
about std::string vs. wxString?

Thanks,
Dave

--- Vadim Zeitlin <vadim at wxwidgets.org> wrote:

> On Mon, 10 Sep 2007 14:31:28 -0700 (PDT) Dave Bee
> <davebeeus at yahoo.com> wrote:
> 
> DB> wxHashMap vs. std::map - which is more
> recommended for
> DB> a string-to-string translation (i.e. wxString
> keys and
> DB> values)?
> DB> 
> DB> Is one faster than the other?
> DB> Is wxHashMap easier to use/debug?
> 
>  The answers to both questions depend on your
> standard library
> implementation. Personally, and while wxHashMap is
> one of the better
> written wx replacements of STL classes and there is
> nothing really wrong
> with using it, I'd use std::map simply because it is
> more standard.
> 
>  Regards,
> VZ
> 
> -- 
> TT-Solutions: wxWidgets consultancy and technical
> support
>                http://www.tt-solutions.com/
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail:
> wx-users-help at lists.wxwidgets.org
> 
> 



       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 




More information about the wx-users mailing list