New UTF-8 stride function

Dmitry Olshansky dmitry.olsh at gmail.com
Mon May 27 11:23:32 PDT 2013


27-May-2013 01:50, Juan Manuel Cabo пишет:
> And these are the results for the same linux 64bit system but compiling
> with -m32:
>

This is mostly in agreement with what I have on my 4-core AMD Phenom.
About the same on Core i5-3550 at work.

Looks like I indeed need 'clock for clock' analysis to draw any conclusion.

> $ dmd -m32 -O -inline -release -noboundscheck fast_stride.d
>
> $ for a in *wiki*; do echo ; echo $a: ; ./fast_stride $a; done
>
> arwiki-latest-all-titles-in-ns0:
> stride 89362
> myStride 49974
> myStride 51140
> stride 88308
>
> dewiki-latest-all-titles-in-ns0:
> stride 138381
> myStride 116971
> myStride 116662
> stride 139681
>
> enwiki-latest-all-titles-in-ns0:
> stride 584787
> myStride 490681
> myStride 490909
> stride 584694
>
> ruwiki-latest-all-titles-in-ns0:
> stride 585372
> myStride 333905
> myStride 341274
> stride 585050
>
> --jm


-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list