# Speed up code for upsampled processing in Plugin

**URL:** <https://forum.juce.com/t/speed-up-code-for-upsampled-processing-in-plugin/45760>\
**Category:** Audio Plugins\
**Created:** [April 29, 2021, 12:00pm UTC](https://forum.juce.com/t/speed-up-code-for-upsampled-processing-in-plugin/45760 "2021-04-29T12:00:26Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![karota](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/karota/32/8238_2.png) [@karota](https://forum.juce.com/u/karota)\
**Post date:** [May 3, 2021, 5:05pm UTC](https://forum.juce.com/t/speed-up-code-for-upsampled-processing-in-plugin/45760/16 "2021-05-03T17:05:22Z")

</div>

Hi @copypastecat,

first of all, you need to allocate memory of each filter’s state for each processing channel! As far as WDF tree is concerned, I suppose that you need to allocate a WDF tree for each channel!

Read here: [#1 most common programming mistake that we see on the forum](https://forum.juce.com/t/1-most-common-programming-mistake-that-we-see-on-the-forum/26013)

---

_[View the full topic](https://forum.juce.com/t/speed-up-code-for-upsampled-processing-in-plugin/45760)._
