[TASK] Improved performance by creating a lookup-table for the colorindex to rgb function.
This commit is contained in:
@@ -20,7 +20,9 @@ class FileImageConverter {
|
||||
* @return void
|
||||
*/
|
||||
public function __construct() {
|
||||
echo "\nInitializing color translation table...";
|
||||
$this->colorConverter = new CharColorConverter();
|
||||
echo "done.\n";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user