Menu

#18 curve.append is slow

performance
open
nobody
primitives (23)
3
2000-06-05
2000-05-24
No

rbench (thin lines) can be significantly speeded up by calling trail.append() only every 5 or 10 points. That reduces code readability and is an idiom I want to avoid.

Discussion

  • Bruce Sherwood

    Bruce Sherwood - 2000-05-28

    A related speed issue is that it will be desirable to make it easy to have a trail of finite length, but as I understand it at the moment without a slice mechanism it is quite difficult to chop off older portions of a trail.

     
  • David Scherer

    David Scherer - 2000-06-05
    • priority: 5 --> 3
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.