This is probably a very naive question, but I go for it anyway?  Does
anyone have any comments about why WordsBitmap doesn't use the stl or boost
bit-vector / bit-set datastructures (for example std::vector<bool>,
std::bitset or the boost dynamically sized version)?

This is just coming up because I'm interested in doing some bit-vector
operations with the coverage vector and I'd like them to look more like
constant time operations than linear time operations in the size of the
source sentence.

Any comments?

https://github.com/moses-smt/mosesdecoder/blob/73513c182dd3e12abf4a1df82a7e7808e3dfab83/moses/WordsBitmap.h

  Thanks!

   --Adam
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to