Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 08/05/19 in all areas

  1. PeterBelow

    Debugging Inline Variables in 10.3.2

    Well, the cure is simple: do not use inline variables 😉. They are alien to the language anyway and serve no real purpose IMNSHO...
  2. Stefan Glienke

    Debugging Inline Variables in 10.3.2

    I disagree but I am not going into yet another discussion about this.
  3. David Heffernan

    handling predicate conditions

    Best is to use exceptions of course
  4. PeterPanettone

    wuppdi Welcome Page destroys Delphi IDE 10.3.1 start screen

    Daniel, first of all, thank you very much for the WWP! And I suppose you wouldn't give away the source for users to compile it themselves for their version?
  5. You can try to put the WWP as the first package to be loaded. That is a bit of manual work: export the Known Packages key in the registry to a file delete the Known Packages key in the registry edit the reg file so that WWP is first after the standard packages import the reg file
  6. Stefan Glienke

    Debugging Inline Variables in 10.3.2

    I see this many times I put a breakpoint into a line with an inline variable declaration - it looks like some debug symbol issue so the breakpoint is not set into the proper instructions but into the prologue code the inline declaration brings with it. This can be very annoying and confusing indeed.
  7. dummzeuch

    GExperts and Delphi 10.3.2

    The assertion in SynTextDrawer usually only happens after another exception on exit, that probably prevented DeactivateFontInfos from being called. I have yet to find the cause. The Assertion is new, introduced by my recent update of SynEdit to the current version from GitHub. I have just played a bit with the "disable all editor enhancements" option, no crash at all. 10.3.2 seems to be usable now. I'll try to do some work in it and see if I can reproduce the problem.
  8. Arnaud Bouchez

    Delphi Memory Managers?

    Delphi default MM is a cut-down version of FastMM4 on Windows. You may achieve slightly better performance on multi-threading by using FastMM4 with some custom conditionals. IIRC on Apple, Linux or mobile platforms, it uses the clib heap manager. Which is not bad in practice. ScaleMM2 or others - like BrainMM - may be better for multi-threaded apps, but tend to consume much more memory. Under Linux, switching to Intel TBB or JMalloc may give a performance boost, but will also consume much more memory - see my tests with FPC https://github.com/synopse/mORMot/blob/8a55fb3bf2d4cffeb779dd19a8be18e227188f2f/SynFPCCMemAligned.pas#L68 But the main performance enhancement would probably be by changing your algorithms... Mainly avoiding heap allocations... See http://blog.synopse.info/post/2018/11/12/EKON-22-Slides-and-Code
×