Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
14.985 Beiträge
 
#1

Delphi array constructors performance (or lack of)

  Alt 18. Feb 2013, 09:20
In Delphi you can initialize a dynamic array in two ways, either manually or via the Create magic constructor: type TIntegerArray = array of Integer; procedure Test; var a : TIntegerArray; begin // magic constructor a := TIntegerArray.Create(1, 2); // manual creation ...

More...
  Mit Zitat antworten Zitat