FastCode: Difference between revisions

Content deleted Content added
m typo fixing + genfixes, typos fixed: occurence → occurrence using AWB (7616)
Line 40:
*CharPos (Searches for the first occurrence of a Char in a String. It returns the position of this occurrence.)
*CharPosIEx (Case insensitive search for the first occurrence of a Char in a String starting from an index passed as parameter. It returns the position of this occurrence.)
*CharPosEy (Searches for the n'th occurenceoccurrence of a Char in a string starting from an index passed as parameter. It returns the position of this occurrence.)
*CharPosRev (Searches for the last occurrence of a Char in a String. It returns the position of this occurrence.)
*CompareMem (Compares two blocks of memory.)
Line 116:
 
== FastMM4 Memory Manager ==
The FastMM memory manager used by Delphi and C++ Builder since 2006 is also the winner of a FastCode competition.<ref>Gabrijelcic, Primoz, "To Manage Memory", The Delphi Magazine, Issue 126, February 2006</ref> It replaced the standard memory manager of Delphi and is not only less prone to memory fragmentation, it also provides improved debugging possibilities like being able to report memory leaks when the application is being closed,<ref>http://blog.marcocantu.com/blog/fastmm4.html</ref>, detecting use after memory release or double releases.
 
FastMM4 is also used as memory manager for applications developed in Lazarus <ref>http://books.google.dk/books?id=WCrzCSuNfHoC&pg=PA64&lpg=PA64&dq=fastmm+delphi&source=bl&ots=nmf3lvxc0G&sig=mBWWTH_XN7QJIRmC2ChTlUuw3I8&hl=da&ei=yH85TfGmFcKRswaKqrDzBg&sa=X&oi=book_result&ct=result&resnum=7&ved=0CEgQ6AEwBji2Ag#v=onepage&q&f=false</ref>