Why does python give a slight delay when running a Reascript action? ⏳ FORUM
FORUM arduino

FORUM arduino



SearchSearch   Users   Registration   Entrance
Today: 20.11.2025 - 09:31:47
Pages:  1  

Why does python give a slight delay when running a Reascript action?

AuthorMessage

WhitE_RabbiT

Chronic doubter




Statistics:
Messages: 18
Registration: 09.14.2002

I have translated some old Reascript actions from Perl to Python and there is always a noticeable half second delay when I run the Python version. The perl version would run immediately, but the python version always pauses before executing. These are not complex actions, and even the most simple Reascript python action has this delay. Has anyone else noticed this delay with python? Or if not, can anyone provide advice on how to fix this?

--------------------
=/WhitE_RabbiT= GOD BLESS AMERICA!
Message # 1 19.11.24 - 02:09:56
RE: Why does python give a slight delay when running a Reascript action?

XOC

Chronic doubter




Statistics:
Messages: 6,474
Registration: 05.20.2001

Yeah, same here. Sometimes this is very annoying. Don't know how to fix :(

--------------------
Lee
Message # 2 19.11.24 - 02:17:29
RE: Why does python give a slight delay when running a Reascript action?

MOESPEED2002

Chronic doubter




Statistics:
Messages: 8
Registration: 08.16.2003

I have found there is a large delay when running the first script of a session. I think this is because a function table is populated with a "pointer" for every API function.

--------------------
Message # 3 19.11.24 - 02:25:30
RE: Why does python give a slight delay when running a Reascript action?

SteveMD

Chronic doubter




Statistics:
Messages: 643
Registration: 05.06.2002

the frustrating thing is that when I was originally using Perl for Reascript there was no delay at all. ...and seeing as how i was probably the last person left using perl i doubt that functionality will ever return. ehh.. first world problems i guess. not the end of the world.

--------------------
Message # 4 19.11.24 - 02:33:53
RE: Why does python give a slight delay when running a Reascript action?
Pages:  1  

Message
Name
Message

Click on the dot next to the name to address the participant

           
   
The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants

Running on: Phorum 8.88.8