Re: FastMM478 flagging ordinary statements



Liz wrote:
Sam Larson wrote:


When I run FastMM on my D2006 app it complains on statements that use:

UpperCase, DateTimeToStr, and HyperStr's Parse function.

Since these functions are in a loop, it will flag them thousands of
times. The log file is a whopping 755k lines. (Should I post it? -
Just kidding.)



How is it flagging them?
Perhaps there is a more efficient way of writing what you're doing?


Liz,
FastMM was flagging the statement that had soemthing as simple as MyStr := UpperCase(MyStr) and it kept going deeper until it reached Delphi source code. It complained it didn't release 20 bytes of code. FastMM only flagged these functions in certain lines of code, code that is executed approx 10+ million times.

I could write my own UpperCase() function, and DateTimeToStr and Parse routines, but they probably won't be as fast as Delphi's. I took a look at FastCode but a lot of those routines would AV when I tried their benchmark program (that doesn't build confidence). <g>

So I was just wondering if anyone else had false positives with FastMM and is there a way to disable the checking of certain functions, like Delphi's functions?

TIA
Sam
.