Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/25/08 14:46:58 (16 years ago)
Author:
gkronber
Message:

performance tuning of functions framework by removing the need for calling Activator in StorableBase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Functions/Variable.cs

    r189 r192  
    102102
    103103    public override object Clone(IDictionary<Guid, object> clonedObjects) {
    104       VariableFunctionTree clone = (VariableFunctionTree)base.Clone(clonedObjects);
     104      VariableFunctionTree clone = new VariableFunctionTree();
     105      clonedObjects.Add(clone.Guid, clone);
     106      FillClone(clone, clonedObjects);
    105107      clone.UpdateCachedValues();
    106108      return clone;
Note: See TracChangeset for help on using the changeset viewer.