Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   Bitte Assembler-Routine verbessern (https://www.delphipraxis.net/105528-bitte-assembler-routine-verbessern.html)

ernschd 3. Mai 2011 14:24

AW: Bitte Assembler-Routine verbessern
 
Schau mal hier

N.Hinterseer 22. Feb 2014 19:51

AW: Bitte Assembler-Routine verbessern
 
How to use with String in XE5? This conversion slow down the function a lot.
Code:
function CharPos_JOH_SSE2_1_b(Ch: Char; const Str: AnsiString; aStart: Integer = 1): Integer;
Zitat:

[dcc32 Warning] Project2.dpr(199): W1057 Implicit string cast from 'AnsiString' to 'string'

Buddelfish 23. Feb 2014 09:30

AW: Bitte Assembler-Routine verbessern
 
Zitat:

Zitat von N.Hinterseer (Beitrag 1249131)
How to use with String in XE5? This conversion slow down the function a lot.
Code:
function CharPos_JOH_SSE2_1_b(Ch: Char; const Str: AnsiString; aStart: Integer = 1): Integer;
Zitat:

[dcc32 Warning] Project2.dpr(199): W1057 Implicit string cast from 'AnsiString' to 'string'

Most likely modify the function to accept WideChar and WideString.


Alle Zeitangaben in WEZ +1. Es ist jetzt 19:45 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz