[Info-vax] Python for x86?
    Simon Clubley 
    clubley at remove_me.eisner.decus.org-Earth.UFP
       
    Tue May  2 13:27:26 EDT 2023
    
    
  
On 2023-05-01, Arne Vajhøj <arne at vajhoej.dk> wrote:
>
> String operations (*)
>                                  Alpha sim         Itanium
>                                  (no JIT)          (older)
> C                               0.076             1.94
> Pascal                          0.005             0.32
> Fortran                         0.002             0.07
> Basic                           0.039             1.31
> Ada (gnat make)                 0.005             -
> Ada (gnat make -gnatp "-O3")    0.005             -
> Java 5                          0.033             -
> Java 8                          -                 1.76
> Python 2                        0.005             -
> Python 3                        -                 0.65
>
> *) string operations are done "natural", which means that they are done
>     different in different languages.
>
Thanks for posting the numbers.
std::string would be interesting here if you have access to a C++ compiler.
What string operations are you performing ? Is it simple concatenation or
something else ? The number of concatenations versus the size of each
concatenation could also make a difference, at least for the dynamically
allocated strings.
Simon.
-- 
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.
    
    
More information about the Info-vax
mailing list