-
Content Count
101 -
Joined
-
Last visited
-
Days Won
1
Everything posted by ŁukaszDe
-
"Delphi High Performance" eBook free on Packt today.
ŁukaszDe replied to Steffen Nyeland's topic in Tips / Blogs / Tutorials / Videos
When you press link, the book is on the top of page: -
Hi, Do you know how to generate a map file using MSBuil? I try add /p:mapfile=Detailed and this is accepted but map file is not created. When I set option in Linking property of project than map file is created. Command is: msbuild /p:config=Testy;mapfile=Detailed /nologo /target:Build "D:\\Demo\Project.dproj"
-
That's right, I add DCC_MapFile=3 to parameters: msbuild /p:config=Testy;mapfile=Detailed;DCC_MapFile=3 /nologo /target:Build "D:\\Demo\Project.dproj" And the map file was created. Thank you.
-
Very slow access to class parameters by properties
ŁukaszDe posted a topic in Algorithms, Data Structures and Class Design
Hi, I always add properties for private parameters in class with Get and Set methods: TSomething = class private pX: Integer; pY: Integer; function GetX: Integer; procedure SetX(AValue: Integer); function GetY: Integer; procedure SetY(AValue: Integer); public property X: Integer read GetX write SetX; property Y: Integer read GetY write SetY; end; function TSomething.GetX: Integer; begin Result := Self.pX; end; procedure TSomething.SetX(AValue: Integer); begin Self.pX := AValue; end; function TSomething.GetY: Integer; begin Result := Self.pY; end; procedure TSomething.SetY(AValue: Integer); begin Self.pY := AValue; end; But I found a problem with this in Delphi. I attach an example application. Access to class parameter by property with Get is almost 6 times longer than directly access. Why? If you do this in loop for 50000000 objects, than the loop is very sloow... AccessToClassParameters.zip -
Very slow access to class parameters by properties
ŁukaszDe replied to ŁukaszDe's topic in Algorithms, Data Structures and Class Design
Thank you for all the tips. -
Very slow access to class parameters by properties
ŁukaszDe replied to ŁukaszDe's topic in Algorithms, Data Structures and Class Design
Yes, this is the solution. So If I want to use class properties in loops, I need add 'inline' to Get and Set methods? -
I have Delphi XE2 and Rio 10.3.2. Both with FastReport. When you install FastReport from GetIt, it is installed in wrong path. Default path where FastReports are installed is C:\Program Files (x86)\FastReports. The current installation overwrites the files of the last installed version. After that, you can't uninstall both versions. Fast Report should be installed to different directory. XE2: "C:\Program Files (x86)\FastReports\FastReport 4 Embarcadero edition" 10.3: "C:\Program Files (x86)\FastReports\FastReport 6 Embarcadero edition" If you have installed FastReport in C:\Program Files (x86)\FastReports\LibDxx you have to uninstall it first. Where to get the installation? After installation from GetIt, necessary files are in: "C:\Users\Public\Documents\Embarcadero\Studio\20.0\CatalogRepository\Fast_Report_VCL-6.2.1-10.3" Uninstall it and install again in correct directory, never in same with other versions...
-
In Delphi 10.3 or in version before is new ToolBar in Editor: Is possible to hide this ToolBar? Today morning I had option Hide in right mouse button menu which hide toolbar: But after change view to another unit, ToolBar was showing again... https://streamable.com/igpzd Now the Hide option has disappeared,.. I do not know what it involved ... I want hide it because I'm using CnPack which has same ToolBar but more comfortable in use.
-
10.3 How to hide Procedure List ToolBar in Editor
ŁukaszDe replied to ŁukaszDe's topic in Delphi IDE and APIs
Great! -
You can give client special version for example with MadExcept.
-
Is possible to call Format uses clauses with Group and sort uses for all units in project?
-
Thanks.
-
We are all waiting for IdeFixPack but this should be fixed by Embarcadero a long time ago... @Marco Cantu right?
-
https://twitter.com/EmbarcaderoTech/status/1074771501327548416
-
@jbg Ok, I understand, it's not a problem. I'm mainly use 32bit compiller for windows application. I wrote here to show that Rio needs IdeFixPack too.
-
Compilation time dropped to 44s when I used IdeFixPack from @jbg post in another topic: When I start Delphi 10.3 I have errors from IdeFixPack: Waiting for next version without errors! Thank's Andreas.
-
My project. The time of compilation with and without IDE Fix Pack is very different. 10.2.3 with IDE Fix Pack 10.2.3 without IDE Fix Pack 10.3 XE2 with IDE Fix Pack XE2 without IDE Fix Pack CnPack Source Statistics from: XE2 10.2.3 10.3
-
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Community_Edition
-
If IDE FIx Pack significantly reduced the compilation time of the project in XE2 and 10.2.3, it probably will do it also in 10.3 (the same project). In the subject: RSP-21934
-
Some time has passed and there is still no 10.3 to choose in the Delphi version in the profile settings...
-
Without IDE Fix Pack projects compile twice as long.