Mattias Gaertner escreveu:
*many IDE parts will become slower (once you start a thread the RTL
uses critical sections and especially string handling become much
slower).

If i understand correctly all program will suffer the performance hit, not only the "threaded" part, right?

Do you have an idea of how slower string handling would be?

I'm asking this because i'm planning to make a client of a REST service through http and i choose Synapse to do the communication.

Since Synapse recommends to use thread to avoid GUI freeze, i planned to use a thread for getting the data.

At the other side this REST server uses JSON as the data format.

If the thread really affects badly the string handling (and parsing JSON does a lot of it) i would rethink the strategy and go for an event based http client like lnet.

Luiz


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to