using mem pool. needs to be more finely tweaked to give good results

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@413 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
hieuhoang1972 2006-07-31 19:44:14 +00:00
parent 33fa518c97
commit e74d282351

View File

@ -29,13 +29,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#include "WordsBitmap.h"
#include "TypeDef.h"
#include "Util.h"
// #include "mempool.h"
#include "mempool.h"
class Phrase
{
friend std::ostream& operator<<(std::ostream&, const Phrase&);
protected:
// static std::vector<mempool*> s_memPool;
static std::vector<mempool*> s_memPool;
FactorDirection m_direction;
size_t m_phraseSize, //number of words