Yes, for this project i needed only unique items to be added to std::map.
http://www.sgi.com/tech/stl/Map.html
It takes a custom sort routine and thanks to this i get only unique items.
XE TDictionary is also fast enough, but it isn't able to get me same results as std:map.
Probably because it doesn't handle collisions so well or something..
I don't know. I even tried Decal and other std:map like things for XE and none of them were able to produce same results.
Thas why i asked if it's possible to pass him some my own sort routine. So it handles collisions better and more precicely or something like that.
Atm im just passing my data to DLL from Delphi and DLL uses std::map to make the processing of data.
Works fine, but i wish i could do it without DLL's. Too bad, that Delphi is not able to link C++ .obj files, specially with STL code in them.
Bookmarks