Re: Fastcode AnsiStringReplace B&V 1.7.1



Hi John

A question to John: StringReplace_JOH_IA32_15 has IFDEF Small.
Would it be better to have two functions with different names?

That is necessary. Otherwise we would only benchmark and validate one of the
two functions. Old discussion.

I was experimenting with reducing the size of the function. The {$IFDEF
SMALL} reduces the size of the function by a few hundred bytes at a cost
of
a 5% reduction in speed. I left this in (but undefined) just in case
CodeGear think that the function size is too excessive for inclusion in
the
Highlander RTL.

Bad idea. Then you are selling unvalidated and unbenchmarked code to them
that migth not be the winner of the IA32 size penalty target.

Please make two versions and make us able to benchmark validate and elect
winners as we always do.

Best regards
Dennis Kjaer Christensen


.



Relevant Pages

  • Re: FastCode Example?: Using CharPos()
    ... Why do you want to benchmark and validate? ... The spreadsheet lists all ... library and possibly replacing RTL functions so 3rd party libraries I use ...
    (borland.public.delphi.language.basm)
  • Re: Fastcode MM Rules
    ... Did you read my arguments about what we test is what we sell? ... You want to benchmark and validate something and release something else. ... Regards ...
    (borland.public.delphi.language.basm)
  • Re: FastCode StrCopy Benchmark
    ... There is a problem with benchmark stability on Athlon only. ... Use "Validate ... the spread due to alignment. ...
    (borland.public.delphi.language.basm)
  • Re: Fastcode Int64Div B&V 4.1.1
    ... This function is the winner of the Fastcode RTL 64 bit division challenge, ... times faster than the current RTL function on this blend of processors. ... Source and benchmark results are available here. ... Validation and Benchmark Tool project. ...
    (borland.public.delphi.language.basm)
  • Re: Fastcode Computed Targets
    ... I adjust the benchmark values such that size is penalized. ... function with the best size versus speed tradeoff will win. ... Winner functions on size penalty targets will generally be smaller ...
    (borland.public.delphi.language.basm)