thanks Andru , the speed is about equal to the original c++ demos , i recompiled it with delphi 2006 , seems delphi produce fast code than fpc