March 31, 1987, Bier, QueenFish
SVGravityImpl.RayAtPoints = 436 (95.4%).
SVAssemblyImpl.ClosestSegmentToLine = 360 (78.8%)
SVLines3dImpl.FillEdgeTransform = 62 (13.6%)
SVLines3dImpl.DistanceAndPointLineToEdge = 101 (33.9%).
CoordSysImpl.FindInTermsOfWorld = 33 (7.2%).
SVAssemblyImpl.ClosestPointToLine = 70 (15.3%).
SVLines3dImpl.FillLineFromPoints (3 refs) = 19, 79 (4.2%) (21.4%).
Summary: Culling will get rid of lots of this time. Computing the FindInTermsOfWorld and FillLineFromPoints values ahead of time will get up to 28%.
1) Load RRBlocks.pic. Lines Preferred. Resest Statistics. Select 250. Click Test Gravity. Print Statistics.
March 30, 1987, Bier, QueenFish
RayMap (PreferPoints). starts: 250. total: 14390. avg: 57. min: 46. max: 479, index: 146, overflows: 0
RayMap (PreferLines). starts: 250. total: 112904. avg: 451. min: 395. max: 772, index: 235, overflows: 0
March 30, 1987 11:39:56 pm PST, Bier, QueenFish. Using Jules's DropPerpendicular formula.
RayMap (PreferLines). starts: 250. total: 48801. avg: 195. min: 170. max: 420, index: 211, overflows: 0
March 30, 1987 11:58:31 pm PST, Bier, QueenFish. Collapsing some SVLine3d routines.
RayMap (PreferLines). starts: 250. total: 41018. avg: 164. min: 144. max: 393, index: 97, overflows: 0
April 20, 1987, Bier, QueenFish
RayMap (PreferLines). starts: 250. total: 36189. avg: 144. min: 128. max: 383, index: 53
April 20, 1987, Bier, QueenFish. Using BoundBox culling for BlockClosestSegmentToLine. Over a factor of 5 improvement.
RayMap. starts: 250. total: 7174. avg: 28. min: 7. max: 458, index: 192
2) Load TenBlocks.pic. Points Preferred. Resest Statistics. Move the mouse around on the cubes. Print Statistics. Use DuringSkitter.
April 20, 1987, Bier, Queenfish
StartSkitter. starts: 1. total: 142. avg: 142.
DuringSkitter. starts: 24. total: 3326. avg: 138. min: 111. max: 156, index: 17