Thread: Avisynth+
View Single Post
Old 26th August 2019, 08:51   #4843  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by VoodooFX View Post
This script is 71 times faster in AVS v2.6 vs AVS+ :
Classic Avisynth caches these 60 frames:
Code:
a = clp.Trim(20,-30)+clp.Trim(2000,-30)
and re-uses that block of memory for all loop and/or splice operations. Setting setmemorymax() to 128 or 64 shows what's happening.

AVS+ seems to read from the source every time in this scenario.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline