- Dec 12, 2022
- 357
- 2
I am using B4XDialog and during debugging it takes a lot of time (sometimes up to 2 minutes or more) when passing over b4xdialog lines. Release mode delay is also present but it looks like a negligible lag and not a long delay.
A little debugging led me to find out that it is taking this time when it comes to this loop in B4XDialog:
B4X:
I understand that this specific loop looks for existing b4xdialog in parent recursively and removes it before adding a new one.
Is it possible to reduce the loop time somehow ?
A little debugging led me to find out that it is taking this time when it comes to this loop in B4XDialog:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
I understand that this specific loop looks for existing b4xdialog in parent recursively and removes it before adding a new one.
Is it possible to reduce the loop time somehow ?
برای دیدن لینک ها باید ثبت نام کنید