Recent

Author Topic: Proposal to improve IsLeapYear and EndOfAMonth-Functions  (Read 3416 times)

BrunoK

  • Sr. Member
  • ****
  • Posts: 452
  • Retired programmer
Re: Proposal to improve IsLeapYear and EndOfAMonth-Functions
« Reply #45 on: February 28, 2024, 06:26:08 pm »
Also having the RANDOM generation inside the benchmark loop is likely to have some influence (how large ?) on the timing results.
Did they really do that? I missed that gotspe.
Also nobody is testing the compiler, just Intel cpu targeted code..... which is even worse, Test the compiler, and for multiple cpu's. Not just Intel/AMD64
For memory : so Grumpy doesn't have the opportunity to reedit his un-thoughts if the matter is discussed further..

Thaddy

  • Hero Member
  • *****
  • Posts: 14357
  • Sensorship about opinions does not belong here.
Re: Proposal to improve IsLeapYear and EndOfAMonth-Functions
« Reply #46 on: February 28, 2024, 06:57:53 pm »
No, the pure Pascal flow should be such that the algorithm performs better on any CPU and that is here not the case. At least not tested. So:nonsense.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

 

TinyPortal © 2005-2018