Op 31/12/2023 om 04:11 schreef Amir--- via fpc-pascal:
I compiled the code with `fpc -O3 -Sd -gv -g -gl ` and ran `valgrind`
on it (the output is attached). It does not look like there is a big
difference between the Check1 and Check2 but Check3 is about 20 times
faster than the other two.
I
Running a GUI application (like Lazarus) from a container isn't that
complicated (just make sure you trust the container you run (depends on
your approach) [1]):
- mounting/forwarding your X server socket to the container application
- remote desktop to the container via VNC or xrdp
To simplify
On 12/31/23 02:46, Marco van de Voort via fpc-pascal wrote:
Op 31/12/2023 om 04:11 schreef Amir--- via fpc-pascal:
I compiled the code with `fpc -O3 -Sd -gv -g -gl ` and ran `valgrind`
on it (the output is attached). It does not look like there is a big
difference between the Check1 and Ch
On Sun, 31 Dec 2023, Amir--- via fpc-pascal wrote:
On 12/31/23 02:46, Marco van de Voort via fpc-pascal wrote:
Op 31/12/2023 om 04:11 schreef Amir--- via fpc-pascal:
I compiled the code with `fpc -O3 -Sd -gv -g -gl ` and ran `valgrind`
on it (the output is attached). It does not look li
> On Dec 30, 2023, at 3:18 PM, Michael Van Canneyt via fpc-pascal
> wrote:
>
> And try to avoid "for r in data" because it will create a copy for each
> element
> in the list.
This seems more like bad compiler design than anything. From the users
perspective a for loop is a read-only operat