|
Boost : |
From: Gerhard Wesp (gwesp_at_[hidden])
Date: 2006-05-30 06:05:29
> The integer class itself also has static variables,
> although not static integers.
> Will this then also be a threading problem?
Most likely. I recommend to avoid static variables.
Now I have a question:
What are the necessary basic data types and operations for implementing
number theoretic functions and algorithms efficiently?
It seems to me that a signed integer type, basic arithmetic, comparison,
the modulo operator and maybe some bit shifting are sufficient. But
maybe I'm wrong.
However, if I'm right, I think we should concentrate on getting this
right first, and then look at what's left.
Regards
-Gerhard
-- Gerhard Wesp ZRH office voice: +41 (0)44 668 1878 ZRH office fax: +41 (0)44 200 1818 For the rest I claim that raw pointers must be abolished.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk