Skip to content

Matway/mpl-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Examples of code written in MPL/C++/Python

Prerequisites

Run

  • Press Win+R, then type cmd and press Enter
  • Type command cd path/to/folder/with/mpl/example
  • Type command run.bat

Running time

Measured on Fedora Linux 42 with Intel Core i7-12700H using GCC 14.2.1, LLVM 19.1.0 and Python 3.13.0. Results in seconds:

| Example name   | MPL           | C++/GCC | C++/LLVM | Python
| -------------- | ------------- | ------- | -------- | ------
| fibonacciCycle | 0.000'000'028 |    3.19 |     1.23 |    220
| fibonacciRec   | 0.000'000'076 |    5.43 |    10.48 |    382
| ip             | 0.000'000'059 |    0.37 |     0.43 |  1'276
| table          | 0.000'085'534 |    2.74 |     6.90 | 19'740