[vtkusers] dramatic difference in performance btw C++ and python

Dominik Szczerba dominik at itis.ethz.ch
Fri Aug 14 09:13:35 EDT 2009


I am walking my (large) image in C++ with GetScalarPointer and in python 
with GetComponentAsFloat (pointer stuff not available) and the latter 
performs dramatically slower. Is there still a way to speed it up?

-- 
d o m i n i k   s z c z e r b a ,   p h d . . . . . . . . . . .
c o m p u t a t i o n a l   l i f e   s c i e n c e   g r o u p
. . . . . . . i t ' i s   r e s e a r c h   f o u n d a t i o n
. . . . . . . . . . . . . . . . . . . . http://www.itis.ethz.ch




More information about the vtkusers mailing list