1. speed question to Rob
This question is for Rob:
Is a=3DDataA[1] faster than b=3DDataB[1][1] ?
atom a,b
sequence DataA,DataB
DataA=3D{1,2}
DataB=3D{{1,2},{1,2}}
a=3DDataA[1]=20
b=3DDataB[1][1]=20
If there is speed difference I'll double or triple the size of my 3D =
engine.
I'm gonna put two new features in my engine:
*multiple cameras
*multiple worlds
--Tapani
2. Re: speed question to Rob
Tapani writes:
> Is a=DataA[1] faster than b=DataB[1][1] ?
> atom a,b
> sequence DataA,DataB
> DataA={1,2}
> DataB={{1,2},{1,2}}
> a=DataA[1]
> b=DataB[1][1]
Yes, you can assume that subscripting once will
take about half the time of subscripting twice.
In theory, with constant sequences and constant
subscripts I could optimize things, but currently I don't.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com