anchor.diff:    end;
   
     {$IFDEF WDC}
  -  SaveStream.Write(fOfferToDemandCache.Count);
  -  for Item in fOfferToDemandCache do
  -  begin
  -    SaveStream.Write(Item.Key.FromUID);
  -    SaveStream.Write(Item.Key.ToUID);
  -    SaveStream.Write(Item.Value);
  -  end;
  -
  -  SaveStream.Write(fSerfToOfferCache.Count);
  -  for Item in fSerfToOfferCache do
  -  begin
  -    SaveStream.Write(Item.Key.FromUID);
  -    SaveStream.Write(Item.Key.ToUID);
  -    SaveStream.Write(Item.Value);
  +  if CACHE_DELIVERY_BIDS then
  +  begin
  +    SaveStream.Write(fOfferToDemandCache.Count);
  +    for Item in fOfferToDemandCache do
  +    begin
  +      SaveStream.Write(Item.Key.FromUID);
  +      SaveStream.Write(Item.Key.ToUID);
  +      SaveStream.Write(Item.Value);
  +    end;
  +
  +    SaveStream.Write(fSerfToOfferCache.Count);
  +    for Item in fSerfToOfferCache do
  +    begin
  +      SaveStream.Write(Item.Key.FromUID);
  +      SaveStream.Write(Item.Key.ToUID);
  +      SaveStream.Write(Item.Value);
  +    end;
     end;
     {$ENDIF}
   end;
  
positive.code: procedure TKMDeliveries.Save(SaveStream: TKMemoryStream);
  var
    I: Integer;
    Item: TPair<TKMDeliveryBidKey, Single>;
  begin
    SaveStream.WriteA('Deliveries');
    SaveStream.Write(fOfferCount);
  
negative.code:   end;
  
    {$IFDEF WDC}
    if CACHE_DELIVERY_BIDS then
    begin
      fOfferToDemandCache.Clear;
      LoadStream.Read(Count);
      for I := 0 to Count - 1 do
      begin
        LoadStream.Read(Key.FromUID);
        LoadStream.Read(Key.ToUID);
        LoadStream.Read(Value);
        fOfferToDemandCache.Add(Key, Value);
      end;
  
      fSerfToOfferCache.Clear;
      LoadStream.Read(Count);
      for I := 0 to Count - 1 do
      begin
        LoadStream.Read(Key.FromUID);
        LoadStream.Read(Key.ToUID);
        LoadStream.Read(Value);
        fSerfToOfferCache.Add(Key, Value);
      end;
    end;
    {$ENDIF}
  end;
  