# Import entire class directory vs specific class

**URL:** <https://forum.kirupa.com/t/import-entire-class-directory-vs-specific-class/271975>\
**Category:** flash\
**Created:** [September 30, 2008, 9:27pm UTC](https://forum.kirupa.com/t/import-entire-class-directory-vs-specific-class/271975 "2008-09-30T21:27:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bandsaw](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@bandsaw](https://forum.kirupa.com/u/bandsaw)\
**Post date:** [September 30, 2008, 9:27pm UTC](https://forum.kirupa.com/t/import-entire-class-directory-vs-specific-class/271975/1 "2008-09-30T21:27:21Z")

</div>

First off i’ve already tried searching for the answer with no luck.

Is there any benefit to only importing the specific classes you need as opposed to importing the entire class directory?

Example:  
import flash.display.Loader;  
import flash.display.StageScaleMode;  
import flash.display.StageAlign;  
import flash.display.Sprite;  
import flash.display.BlendMode;  
import flash.display.Bitmap;  
import flash.display.BitmapData;  
etc…

vs  
import flash.display.\*;

Id like to clean up my code but not at the expense of performance…or does this just increase compile time?
