Thanks for the reply, Mattias.
On 17 June 2013 12:35, Mattias Gaertner <[email protected]> wrote: > > I see no relationship to your code. Probably it is a side effect of a > destroyed heap. > Why do you think that the the above Ifs causes lclrescache to > crash? > I can't either, but if I remove the code from the unit, the crash no longer occurs. Fetch the string only once: > s:=OdReadstrings.Strings[i] > if Pos(' Center Point',s)>0 then > ... > > Even faster: > Parse the line for tokens and use hash maps. > I'll look into that. Thanks. > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
