Jump to content

Tommi Prami

Members
  • Content Count

    642
  • Joined

  • Last visited

  • Days Won

    9

Tommi Prami last won the day on November 21

Tommi Prami had the most liked content!

Community Reputation

161 Excellent

Technical Information

  • Delphi-Version
    Delphi 12 Athens

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Tommi Prami

    64 bit over 10x slower than 32 bit

    I think you missed my point. My point was, that how those changes affects to the speed. Following cases: Current implementation Raise exception in separate method, to avoid hidden try .. finally clause Remove if and dll check totally from calculations and "leave it to user to load the dll before calling the calculations" - moldel. How much there is difference in speed, with those changes, cases 2 and 3 should be faster but how much? -tee-
  2. Tommi Prami

    64 bit over 10x slower than 32 bit

    Try to remove if not UCRTLoaded then raise Exception.Create('Ucrtbase.dll not found or functions '); Code, or wrapt it to Debug define and/or do something like procedure RaiseUCRTNotLoaded; {$IF CompilerVersion >= 37.0} noreturn; {$ENDIF} begin raise Exception.Create('Ucrtbase.dll not found or functions ') at ReturnAddress; end; function Cos_DD(x: Double): Double; begin {$IFDEF DEBUG} if not UCRTLoaded then RaiseUCRTNotLoaded; {$ENDIF} Result := CosPtr(x); end; function Sin_DD(x: Double): Double; begin {$IFDEF DEBUG} if not UCRTLoaded then RaiseUCRTNotLoaded; {$ENDIF} Result := SinPtr(x); end; Havinin raise... code in the actual math functions cause hidden try..finally block because of string handling. hmmm, maybe I can find better explanation of this by @Eric Grange https://www.delphitools.info/2009/05/06/code-optimization-go-for-the-jugular/ Would be very interesting to see effect of that, in your code. -tee-
  3. Tommi Prami

    FileSearchEngine with OmniThreadLibrary

    Yellow, Could you put this into the GitHUB etc? You could receive pull request(s) if lucky. Thought also, when done, something like this could be nice to have in OTL out of the box, because this is one of the things many needs. -tee-
  4. Tommi Prami

    DelphiWebDriver

    Hello, Could you add bit more general info what this could be used for, and what is needed to get it going. So anyone that checks this out, would not have to start googling info etc... -tee-
  5. Tommi Prami

    Try..except..finally..end; ??

    If implemented this would be must, to put the order that would fill need in hand. Mainly for me this would remove on indentation and the one thing I can't remember what is called, like begin .. end... "collection of code lines"
  6. Tommi Prami

    RAD Studio 13 is available

    GetIT update fails, same way that the previous update for D13. Tels that "Not compatible with version..." I'll just grab some kind of screenshot... Is anyone else gettings this and/or reported to Embarcadero this? -tee- @Ian Barker PS. Downloaded update package installed fine, it does not show in About dialog, but I believe it installed just fine.
  7. Yellow, Could you share some that of the code of yours? Would be interesting to see how it is done by the expert... -tee-
  8. Just to clarify, are you talking of multiple Cores or multiple actual physical CPU chips? At desktop, on Windows, multiple CPU (socket) motherboards are quite rare I think. If I recall, then you would need Server version of Windows. Ah, there is no way to delete your own post 😞 Thought that it was not posting the reply, because it just stayed there in Edit mode.
  9. Just to clarify, are you talking of multiple Cores or multiple actual physical CPU chips? At desktop, on Windows, multiple CPU (socket) motherboards are quite rare I think. If I recall, then you would need Server version of Windows.
  10. Just to clarify, are you talking of multiple Cores or multiple actual physical CPU chips? At desktop, on Windows, multiple CPU (socket) motherboards are quite rare I think. If I recall, then you would need Server version of Windows.
  11. Tommi Prami

    Forum running slow

    Slowness seems to be ralated to time of day. Maybe. Some time ago it was very slow, now just slow... Adn very slow again, atleast posting new message and editing existing is very slow,
  12. Just out of curiosity wheree this is actually needed? Some country/Culture/Local law related thing?
  13. Tommi Prami

    UIAutomation in Delphi 13

    Hello, Has someone made tickets for Emba of these issues in this discussion. If/will so so, links please. -tee-
  14. Nice... ctrl := FindControl(Msg.hwnd); // <- could you tell me what is this for?
  15. Hello, I need either VLC / WinMessage / WinAPI solution to this. Current (very old) implementation uses Forms KeyPreview set to true. Then on KeyUp event paste key kombinations will invoke code that will get data from keyboard, and Key is set to zero. It mostly works, but sometimes edit controls are faster to capture the paste. Would need bit more robust version for this. -Tee-
×