berkes,
@berkes@mastodon.nl avatar

@flub what I find most frustrating, though, is how very different the performance of iterators vs loops can be.

In , refactoring from one to another might have some small effect. But in , I need to know the intricacies of both, when refactoring. Last week I refactored a python iterators into a loop, no functional change, and a run went from 13 seconds to over 4 minutes! Apparently smth with memory allocations and -copies. As leaky an abstraction I have ever seen.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • tacticalgear
  • thenastyranch
  • ethstaker
  • everett
  • Durango
  • rosin
  • InstantRegret
  • DreamBathrooms
  • magazineikmin
  • Youngstown
  • mdbf
  • slotface
  • GTA5RPClips
  • kavyap
  • JUstTest
  • tester
  • cubers
  • cisconetworking
  • ngwrru68w68
  • khanakhh
  • normalnudes
  • provamag3
  • Leos
  • modclub
  • osvaldo12
  • megavids
  • anitta
  • lostlight
  • All magazines