Exemplo n.º 1
0
        protected MicroBenchmark(string fileName)
        {
            var m_Path = @"Data";

            using (var provider = new ZipRealDataProvider(Path.Combine(m_Path, fileName)))
            {
                m_Bitmaps = provider.ToArray();
            }
        }
Exemplo n.º 2
0
 public Collections.Special.RoaringBitmap[] GetBitmaps(string name)
 {
     Collections.Special.RoaringBitmap[] bitmaps;
     if (!m_BitmapDictionary.TryGetValue(name, out bitmaps))
     {
         using (var provider = new ZipRealDataProvider(Path.Combine(m_Path, name)))
         {
             bitmaps = provider.ToArray();
             m_BitmapDictionary[name] = bitmaps;
         }
     }
     return(bitmaps);
 }