Difference between revisions of "Python"

From Healthcare Robotics Wiki
Jump to: navigation, search
(efficiency)
(efficiency)
Line 16: Line 16:
  
 
== efficiency ==
 
== efficiency ==
When you need buffering of some sort for logging/writing data, if speed is important use the deque data structure instead of lists:
+
* When you need buffering of some sort for logging/writing data, if speed is important use the deque data structure instead of lists:
 
http://docs.python.org/library/collections.html#collections.deque
 
http://docs.python.org/library/collections.html#collections.deque

Revision as of 16:20, 14 November 2009

learning python

math, science, numerical, etc.

opencv

efficiency

  • When you need buffering of some sort for logging/writing data, if speed is important use the deque data structure instead of lists:

http://docs.python.org/library/collections.html#collections.deque