Jump to content

Cristian Peța

Members
  • Content Count

    330
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Cristian Peța


  1.  

    4 minutes ago, dormky said:

    the code called by the timer is "fire and forget"

     

    15 minutes ago, dormky said:

    If it's on the main thread, it runs the risk of getting delay by other work (namely, heavy drawing). If the timer is delayed, the event is delayed too.

    Use Sleep() in the thread and start other threads at that interval.

    The thread with the Sleep() will need to have highest priority.


  2. Do you have thousand record types? Then you have some work...

     

    If there are not so many record types and you need to use both 32 and 64 bit versions then I would make for every record an old version that has Cardinal instead of pointer just for reading from and writing to the stream.

    And two procedures to copy data between old and new record.

    The old record with Cardinal will be used only to stream data.

     

    If you want to do more then use old records with Cardinal instead of pointer only for reading. And save data in a new format like JSON.


  3. 1 hour ago, msd said:

    There is v5.05 on official GitHUB Channel (release date is 25.06.2023 do you have some fresh info

    Have you checked https://github.com/pleriche/FastMM5/activity?ref=master ?

    Latest commit is 6 nov. "Handle a potential race condition in FastMM_DetectClassInstance: If another thread frees a block while it is being evaluated as a potential class then an A/V could occur. This indirectly affects other functionality, like FastMM_LogStateToFile."

    You can download sources if you don't use git to clone repository: https://github.com/pleriche/FastMM5/archive/refs/heads/master.zip

    image.thumb.png.d0a97a75148c6e83aa0a38742f90bae3.png

    • Thanks 1

  4. 33 minutes ago, Juan C.Cilleruelo said:

    Arm technology allows, with the same batteries, more than 20 hours between charges, for example. 

    Arm technology allows a much more power computation, without consuming more energy. 

     

    Really do you think that the future is Intel architecture? 

    Or do you think that Intel is ready to create processors without these limitations? 

    Personally I wouldn't buy Windows ARM because incompatibilities. 20 hours without charge is nice but is not a must have for me.

    • Like 1

  5. 1 hour ago, Juan C.Cilleruelo said:

    Since Apple is embracing ARM architecture, Microsoft is still waiting to no one know what, while in the field of hardware, the technology was ready a time ago. 

    Apple is giving you no choice. With Windows people can choose and there are not so many eager to embrace this change.

×