Make parse_info a bit less regex-happy; speeds it up somewhat.
[remoteglot] / Position.pm
index 9868b21..1a02d61 100644 (file)
@@ -35,6 +35,7 @@ sub new {
                $pos->{'last_move_uci'} = undef;
        }
        $pos->{'last_move'} = $x[29];
+       $pos->{'prettyprint_cache'} = {};
 
        bless $pos, $class;
        return $pos;