protected static function __callStatic_fast_render ($selector, $data) {
		if (
			is_array($data) &&
			isset($data[0]) &&
			count($data) == 1 &&
			strpos($selector, ' ') === false &&
			strpos($selector, '[') === false &&
			strpos($selector, '.') === false &&
			strpos($selector, '#') === false
		) {
			if (is_scalar($data[0])) {
				return static::render_tag($selector, $data[0], []);
			}
			if (
				!isset($data[0]['in']) &&
				!isset($data[0]['insert']) &&
				static::is_array_assoc($data[0])
			) {
				return static::render_tag($selector, '', $data[0]);
			}
		}
		return null;
	}
protected static function __callStatic_fast_render ($selector, $data) {
		if (
			is_array($data) &&
			isset($data[0]) &&
			count($data) == 1 &&
			strpos($selector, ' ') === false &&
			strpos($selector, '[') === false &&
			strpos($selector, '.') === false &&
			strpos($selector, '#') === false
		) {
			if (is_scalar($data[0])) {
				return static::render_tag($selector, $data[0], []);
			}
			if (
				!isset($data[0]['in']) &&
				!isset($data[0]['insert']) &&
				static::is_array_assoc($data[0])
			) {
				return static::render_tag($selector, '', $data[0]);
			}
		}
		return null;
	}
protected static function __callStatic_fast_render ( $ selector , $ data ) { if ( is_array ( $ data ) && isset ( $ data [ 0 ] ) && count ( $ data ) == 1 && strpos ( $ selector , ' ' ) === false && strpos ( $ selector , '[' ) === false && strpos ( $ selector , '.' ) === false && strpos ( $ selector , '#' ) === false ) { if ( is_scalar ( $ data [ 0 ] ) ) { return static :: render_tag ( $ selector , $ data [ 0 ] , [ ] ) ; } if ( ! isset ( $ data [ 0 ] [ 'in' ] ) && ! isset ( $ data [ 0 ] [ 'insert' ] ) && static :: is_array_assoc ( $ data [ 0 ] ) ) { return static :: render_tag ( $ selector , '' , $ data [ 0 ] ) ; } } return null ; }
Trying to render faster, many practical use cases fit here, so overhead should worth it

@param string $selector
@param array  $data

@return null|string
Trying to render faster many practical use cases fit here so overhead should worth it