-
Content Count
3710 -
Joined
-
Last visited
-
Days Won
185
Everything posted by David Heffernan
-
Dynamic array used as a queue. Memory fragmentation?
David Heffernan replied to A.M. Hoornweg's topic in RTL and Delphi Object Pascal
Except aligned is now slower on modern cpus because of the less efficient cache usage when there is padding. -
Dynamic array used as a queue. Memory fragmentation?
David Heffernan replied to A.M. Hoornweg's topic in RTL and Delphi Object Pascal
It is if you use a proper memory manager -
Dynamic array used as a queue. Memory fragmentation?
David Heffernan replied to A.M. Hoornweg's topic in RTL and Delphi Object Pascal
This was true once upon a time but is not true for modern x86-64 architectures. -
Show executable size after successful build?
David Heffernan replied to PeterPanettone's topic in Delphi IDE and APIs
You've spent more time posting here than you would ever save from this feature existing -
Show executable size after successful build?
David Heffernan replied to PeterPanettone's topic in Delphi IDE and APIs
But it doesn't change from one build to the next. Or is your problem that on Monday you know that the executable is 25mb but come Tuesday you've forgotten. Maybe you should get some post it notes. -
Show executable size after successful build?
David Heffernan replied to PeterPanettone's topic in Delphi IDE and APIs
So check the size in explorer. Not like you need to do this repeatedly. Are you having trouble using explorer? -
Avoid parameter evaluation
David Heffernan replied to Maxime Janvier's topic in RTL and Delphi Object Pascal
Yeah, I couldn't believe that anon methods arrived way back in Delphi 2009. I thought they were a much younger feature!! -
Avoid parameter evaluation
David Heffernan replied to Maxime Janvier's topic in RTL and Delphi Object Pascal
What specific feature are you talking about here? -
Show executable size after successful build?
David Heffernan replied to PeterPanettone's topic in Delphi IDE and APIs
Doesn't seem very useful to me. I wouldn't prioritise this. -
I don't know why you aren't facing up to the reality that you need to write some C++ code.
-
You can't declare this structure in Delphi because it uses the STL type std::vector.
-
VCL or CLX? How do I know what type of application I'm designing in Delphi 7. I'm a beginner.
David Heffernan replied to Miguel Jr's topic in Delphi IDE and APIs
Delphi 7 is also long dead. -
Why do you need a smaller exe?
-
Consider sharing a program that behaves this way
-
"for i in" goes in reverse
David Heffernan replied to dormky's topic in RTL and Delphi Object Pascal
Code editors telling you stuff is great but the bigger problem is the missing functionality at the fundamental language level. -
"for i in" goes in reverse
David Heffernan replied to dormky's topic in RTL and Delphi Object Pascal
Classic delphi type ambiguity consequence -
The scenarios I'm thinking of are numerical programming where the bottlenecks are migrated to math libs like openblas
-
For loads of scenarios the interpreter doesn't matter for performance.
-
Personally I compile openblas and other libraries into dlls and link to them. Not least because the performance is obviously much better than code compiled by delphi.
-
Threadvar "per object"
David Heffernan replied to chkaufmann's topic in Algorithms, Data Structures and Class Design
The naive answer to your question is that the object holds a dictionary whose key is the thread id. But it's far from clear that what you are planning will actually solve your problem. -
It's far more effective just to paste the function name into Google surely
-
This has always been possible. On win64 delphi compiler/linker has never respected the pdata exception tables so exceptions in the linked code have unpredictable results, for instance insta process terminate. Not sure if latest delphi fixes that.
-
C++ Builder 11.3 / RenameFile() not working?
David Heffernan replied to cbPlus's topic in General Help
What directory would you have expected the files to be relative to?- 10 replies
-
- c++ builder
- 11.3
-
(and 1 more)
Tagged with:
-
C++ Builder 11.3 / RenameFile() not working?
David Heffernan replied to cbPlus's topic in General Help
What I don't understand is why you didn't use the debugger or other debugging techniques to check what values were being passed in to the function. That's my idea for you.- 10 replies
-
- c++ builder
- 11.3
-
(and 1 more)
Tagged with:
-
Quality Portal going to be moved
David Heffernan replied to Uwe Raabe's topic in Community Management
Like when they asked us all to transfer our reports from QC to QP?