Jump to content
chmichael

UltraCode64 for Delphi (aka 64-bit FastCode)

Recommended Posts

On 7/11/2019 at 4:47 PM, chmichael said:

1. I already have this in my design plans but it seems i can not host a database on the Github so currently i'll have to use my personal hosting.

2. Thanks! I'll contact him after Benchmark/Validation apps are made.

Oops I have to re-test and benchmark that old code with the latest RTL, to make sure its still vaiid and worth it.

 

About fast code, I'm interested in sse or avx speedups of array sum and min max, without cpu detection overheads

Share this post


Link to post
On 9/14/2025 at 8:56 AM, david berneda said:

Oops I have to re-test and benchmark that old code with the latest RTL, to make sure its still vaiid and worth it.

 

About fast code, I'm interested in sse or avx speedups of array sum and min max, without cpu detection overheads

The FastDateTime repository has been tested with RAD 13.0 Florence, all fine, similar speed gains than 10.1 Rio.

 

I've added an indentical Firemonkey FMX test project to benchmark all the non-Windows platforms.

 

https://github.com/davidberneda/FastDateTime

 

  • Like 2
  • Thanks 1

Share this post


Link to post

Nice i'll include your functions.

From your testing seems free pascal has faster functions than Delphi will have to check this

Edited by chmichael
  • Like 1

Share this post


Link to post

I have pending to add a "brute force" test to verify these functions work 100% correct.

Basically a loop from zero day (Dec 30th 1899) or negative, til year 3000 or more, checking and comparing with the RTL ones. (Just to be sure its fine)

 

  • Like 1

Share this post


Link to post

I think it would be more helpful to create tickets in Embarcadero portal with proposed code for improvements. They've implemented quite a few such tickets in several last releases.

Share this post


Link to post
3 hours ago, Stefan Glienke said:

Man, that UltraCode project really took off in the past 6 years, didn't it?

Indeed. Occupied with other things ...

Hope you like what i am preparing as idea.

 

Edited by chmichael

Share this post


Link to post
2 hours ago, EugeneK said:

I think it would be more helpful to create tickets in Embarcadero portal with proposed code for improvements. They've implemented quite a few such tickets in several last releases.

It's community time Embarcadero will do it's own thing we do our thing.

Share this post


Link to post
7 hours ago, EugeneK said:

I think it would be more helpful to create tickets in Embarcadero portal with proposed code for improvements. They've implemented quite a few such tickets in several last releases.

So did I.

 

I refrain from projects in which the initiator themself does not contribute anything.

Share this post


Link to post

What problem is this project attempting to solve. 

 

Because my impression is that the real issue with performance in Delphi is at the level of the compiler and the quality and the code it generates, which is often pitiful. 

 

So I don't really see tweaking library functions as likely to have significant impact for actual programs. It seems unlikely that real world program performance bottleneck is in a Delphi library function. 

 

Or am I wrong? 

Edited by David Heffernan

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×