Boost logo

Boost Users :

From: Martin Fisher (mnfisher_at_[hidden])
Date: 2008-01-30 14:41:15


/*

  boost::flyweights::flyweight<string>::initializer init;
  vector<boost::flyweights::flyweight<string> > vec;
*/

Thanks Joaqu?n. That fixes all. I'd noticed a bit in the doc about
initialisation - just my attempt to write a minimal test case got the
better of me.
Release is still slower than debug under MS - 60 cf 56s with my computer
cranked up to full tilt.. Put that down to some dubious MS code generation.
For comparison the example program took 927s for hashed factory when
compiled as debug and 1365s when compiled as release (ok I didn't repeat
the tests!)
I'll have to get a smaller test file :-)

Best wishes

Martin


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net