Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
CodeDelphi

Speed Up Delphi Code By Up To 200x With MtxVec Library By Dew Research

This CodeRage session by Janez Atmapuri Makovsek shows how you can use the MtxVec library to speed up the Delphi code by 200x.

The key concept is here, once you get the data to the right memory hierarchy level, you need instructions that take advantage of the available memory bandwidth.

  • Only possible with AVX (Advanced Vector Extensions)
  • Instruction Set and CPU cache rely on the assumption that the elements of the array are accessed consecutively in increasing order.

Code Example:

And here is how you can increase the speed of your Delphi code using the MtxVec

Result is amazing!

  • Running time 0.18s
  • Speed up factor: 204x

Be sure to watch full CodeRage session!


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Software Developer | B.Tech-CSE at AUT | Delphi/C++ Builder Enthusiast | Microsoft Learn Student Ambassador | Microsoft Azure Certified | Udacity Alumni
Related posts
CodeDelphiRAD Studio

Easily Automate The DigitalOcean API From Windows And Mobile

DelphiInterview

Developer Stories: Giuliano D'Oronzo Talks Through His Board Game Prime

DelphiInterview

Developer Stories: Oripov Murod Converses Regarding His DovtaLab2020 Application

DelphiRAD Studio

Websockets Harness Real-Time Power In Your Delphi Apps

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES