Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-02

Priority...

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink
Samuel Liddicott wrote
I beg people to avoid readln and writeln serious code. Even borland avoid it.

There is nothing wrong in using WrileLn in a console app.

Marc

Reply by email

Samuel Liddicott
Show quoted text 13 lines
-----Original Message----- From: Peter Vreman Sent: Wednesday, February 09, 2000 01:33 PM To: Subject: Re: [lazarus] Priority... Shane Miller wrote: > > I think we should look at removing all the writeln's that are slowing Lazarus down. It is most evident in the loading of a file into the mwedit component (at least I hope that's why it's slow).

I beg people to avoid readln and writeln serious code. Even borland avoid it.

> Let's get those removed and use the trace or an ifdef. We need to see if that's whats slowing Lazarus down so much. There is something called as a profiler that does the thing for you ;)

Sam

Reply by email

Alexander Mehlhorn AHM
to Samuel Liddicott
> I think we should look at removing all the writeln's that are slowing Lazarus down.

Why dont you use streams ? Forgive my ignorence, but the speed of the mwedit component in Lazarus is not at all the same as the original. Could this be OS dependant stuff thats happening there ? Has anyone tested it in Lazarus under Windows ?

As to the readln and writeln I wonder why the code would still be slow while typing when what you are currently trying to solve is the reading and writing of the file. Are those not seperate issues ?

Regards, Alex

Reply by email