View Single Post
07/03/14, 03:42 PM   #6
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 280
Originally Posted by lyravega View Post
Performance is a primary concern for my code, as it is time critical. For example, a simple code, which is time critical (expected to finish 100 runs in a second at least)
A requirement of "X runs per second minimum" is flat out impossible. Regardless of environment and programming language. It just won't happen.

The CPU executes your code as fast as it can. Not a single cycle faster. Also currently Addons run in the UI thread. Wich means they are single threaded and your code running too long can hold up the UI thread (it was propably ZrMM that caused the delays on people entering the group).

If you ever have a "minimum amount of throughput per timeframe" requirement, your design is wrong.
  Reply With Quote