Herve,
I think you code just confirms what I said -- for small nt for() wins,
otherwise memcpy wins. Taking your measurements (they are a bit crude since
they measure overhead as well):
ginaz:sandbox$ time ./hmc.mc 1
real0m7.294s
user0m7.239s
sys 0m0.054s
ginaz:sandbox$ time ./hmc
I looked through the documentation and the mailing lists and could not
find an answer to this. My apologies if it has already been answered.
If it has, a pointer to the relevant discussion would be greatly
appreciated.
Creating S4 classes containing environments exhibits unexpected
behavior/feat
I think using 'is(inEnv, "environment")' produces the answer you
expect. Can't explain the other anomalies though.
-roger
On Sat, Apr 24, 2010 at 1:15 PM, Christopher Brown
wrote:
> I looked through the documentation and the mailing lists and could not
> find an answer to this. My apologies if