mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-08 12:36:35 +03:00
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:
parent
33fa518c97
commit
e74d282351
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user