edbennett / performant-numpy

A lesson on ways to write Numpy code that is performant
Other
1 stars 2 forks source link

mention np.append #18

Open edbennett opened 2 months ago

edbennett commented 2 months ago

np.append is an example of a whole-array operation that slows things down relative to using a straight python list; this should be called out as it's a relatively common anti-pattern