Closed ikelaiah closed 5 months ago
Hi @gcarreno,
I finally had a chance to do a bit of clean up, and a small optimisation, before trying out TThread-way.
TThread
procedure TWeatherStation.ParseStationAndTemp(const line: shortstring);
PoS()
LastDelimiter()
;
Thank you, Iwan
Hi @gcarreno,
I finally had a chance to do a bit of clean up, and a small optimisation, before trying out
TThread
-way.procedure TWeatherStation.ParseStationAndTemp(const line: shortstring);
. No noticable difference in speed.PoS()
with a simpler function,LastDelimiter()
, to get the position of;
from the right.Thank you, Iwan