docs: function createOptimized( term ) {
  	// This is a subset of the terminal capability, mainly used to speed up ScreenBuffer and ScreenBufferHD
  	var i ;
  
  	term.optimized = {} ;
  
  	// reset
  	term.optimized.styleReset = term.str.styleReset() ;
  
  	// Styles
  	term.optimized.bold = term.str.bold() ;
  	term.optimized.dim = term.str.dim() ;
  	term.optimized.italic = term.str.italic() ;
  	term.optimized.underline = term.str.underline() ;
  	term.optimized.blink = term.str.blink() ;
  	term.optimized.inverse = term.str.inverse() ;
  	term.optimized.hidden = term.str.hidden() ;
  	term.optimized.strike = term.str.strike() ;
  
  	term.optimized.noBold = term.str.bold( false ) ;
  	term.optimized.noDim = term.str.dim( false ) ;
  	term.optimized.noItalic = term.str.italic( false ) ;
  	term.optimized.noUnderline = term.str.underline( false ) ;
  	term.optimized.noBlink = term.str.blink( false ) ;
  	term.optimized.noInverse = term.str.inverse( false ) ;
  	term.optimized.noHidden = term.str.hidden( false ) ;
  	term.optimized.noStrike = term.str.strike( false ) ;
  
  	// Colors
  	term.optimized.color256 = [] ;
  	term.optimized.bgColor256 = [] ;
  
  	for ( i = 0 ; i <= 255 ; i ++ ) {
  		term.optimized.color256[ i ] = term.str.color256( i ) ;
  		term.optimized.bgColor256[ i ] = term.str.bgColor256( i ) ;
  	}
  
  	term.optimized.defaultColor = term.str.defaultColor() ;
  	term.optimized.bgDefaultColor = term.str.bgDefaultColor() ;
  
  	// Move To
  	term.optimized.moveTo = term.esc.moveTo.optimized || term.str.moveTo ;
  
  	// Move 1 char to the right
  	term.optimized.right = term.str.right( 1 ) ;
  
  	// 24 bits colors
  	term.optimized.color24bits = term.esc.color24bits.optimized || term.str.color24bits ;
  	term.optimized.bgColor24bits = term.esc.bgColor24bits.optimized || term.str.bgColor24bits ;
  }