Post Reply 
Programming puzzles: processing lists!
06-04-2017, 02:31 PM
Post: #110
RE: Programming puzzles: processing lists!
(06-03-2017 08:00 PM)pier4r Wrote:  I hope you'll put this also in the general software library!

It's still "in progress", and not quite ready for a GSL post.

Yesterday I took a look at how STREAM was implemented, and realized that it was utilizing an unusual method for biting off list elements one piece at a time for feeding to some process. Under the right conditions, this method can not only save loop time, but it also has benefits regarding memory fragmentation that can improve performance both immediately and later on.

I'm able to make use of this technique in several places in my code, so I've been going through the library and re-coding segments where appropriate. From the testing I've done, it's definitely worth the trouble.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Programming puzzles: processing lists! - DavidM - 06-04-2017 02:31 PM

User(s) browsing this thread: 1 Guest(s)