I profiled the C++ code using APA. It's spending all it's time bit twiddling and doing mod division. The Java version uses a much more efficient implementation that uses an array of boolean's which isn't initialized to turn the bits on.

On 25/06/2021 1:01 pm, Andrew Rowley wrote:
On 25/06/2021 2:34 pm, David Crayford wrote:
If you've got the XLC 2.4.1 it will will be installed in the /usr/lpp/cbc/xlclang/exe directory. It's 64-bit only. We use this compiler exclusively now. It's really cool and has neat features such as type checking printf() format flags at compile time.


I have /usr/lpp/cbclib/xlclang/exe/, but:

ls -l /usr/lpp/cbclib/xlclang/exe/
total 16
erwxrwxrwx   1 OMVSKERN OMVSGRP        7 Jun 12  2019 clcdrvr -> CLCDRVR

I think that is linking to a program outside the filesystem.

I found IBM XL C/C++ V2.4.1 for z/OS V2.4 web deliverable with a program directory. It has a z/OS dataset that goes in the linklist, I can't see that on my system. I suspect I have the OMVS bits but need to request the z/OS components be attached to my system (Dallas RDP system).



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to