replace set/map with boost::unordered_* to reduce the number of expensive filesystem::basic_path::operator< calls based on a patch by ortalo (thanks!)

This was SVN commit r8947.
This commit is contained in:
janwas
2011-02-19 21:24:39 +00:00
parent 007985332b
commit 1a2a7677fd
10 changed files with 73 additions and 52 deletions
+5
View File
@@ -121,6 +121,8 @@ class CTextureProperties
{
friend class CTextureManagerImpl;
friend struct TextureCacheCmp;
friend struct TPequal_to;
friend struct TPhash;
public:
/**
@@ -180,6 +182,8 @@ class CTexture
{
friend class CTextureManagerImpl;
friend struct TextureCacheCmp;
friend struct TPequal_to;
friend struct TPhash;
// Only the texture manager can create these
explicit CTexture(Handle handle, const CTextureProperties& props, CTextureManagerImpl* textureManager);
@@ -187,6 +191,7 @@ class CTexture
NONCOPYABLE(CTexture);
public:
~CTexture();
/**