B4R Question Is it possible to optimize the execution efficiency of B4R?

santook

Member
Is it possible for B4R to translate Basic syntax directly through XML tags to C/C++ without the need to use the B4R class transfer?.
Otherwise, a C/C++ library needs to first write a call library for the B4R class, so that efficiency will be reduced by half.
Take C/C++ for example
B4X:
While (1)
{
    digitalWrite (2, HIGH);
    digitalWrite (2, LOW);
}
IO flip rate can reach 144KHz
But B4R
B4X:
Do while (true)
    Led.digitalWrite (not (led.digitalRead))
Loop
Can only reach 64KHz
 
Top