# Does static private var result in faster performance compared to just private var?

**URL:** <https://forum.kirupa.com/t/does-static-private-var-result-in-faster-performance-compared-to-just-private-var/234737>\
**Category:** flash\
**Created:** [August 5, 2007, 2:21pm UTC](https://forum.kirupa.com/t/does-static-private-var-result-in-faster-performance-compared-to-just-private-var/234737 "2007-08-05T14:21:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glidias](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@Glidias](https://forum.kirupa.com/u/Glidias)\
**Post date:** [August 5, 2007, 2:21pm UTC](https://forum.kirupa.com/t/does-static-private-var-result-in-faster-performance-compared-to-just-private-var/234737/1 "2007-08-05T14:21:55Z")

</div>

I may not have been paying attention in Java class. But I know static uses less memory.

The thing is: I only have 1 instance of this particular Class on the stage. So, does adding static really make any difference in memory? Shouldn’t i then just put static for all of it’s private variables since it’s planned to have only 1 instance located there?
