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!


What's New for RAD Studio 11

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

How To Build A Powerful Real-Time Stock Market App

CodeDelphi

11 Tutorials For Working With Ethereum From Delphi

C++DelphiRAD Studio

The High-Performance Future Of AI Is REST APIs

CodeDelphiTech Partner

How To Create Your Own Components For The FastReport Dialog

Leave a Reply

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

IN THE ARTICLES