Page 1 of 1

"Laggy" sgf files

Posted: Thu Nov 13, 2014 2:52 pm
by paK0
This one for example:

viewtopic.php?p=176313#p176313

I get extreme lag when I try to view them, sometimes it skips ahead a couple of moves, etc...

Anyone else having similar problems or is it just me?

Re: "Laggy" sgf files

Posted: Thu Nov 13, 2014 4:31 pm
by xed_over
I've seen that problem too.

It seems to only happen when people link directly to OGS.
I'd bet its because there not an actual SGF file (yet), but rather its generating the data on the fly from its database, so its not responsive enough for this browser app.

(there are multiple ways to post SGF files to the forum)

Re: "Laggy" sgf files

Posted: Fri Nov 14, 2014 5:38 am
by Bonobo
In the thread to which paK0 linked, the SGF files had been downloaded from OGS and then uploaded here, not linked directly to OGS (at least the last two files).

Re: "Laggy" sgf files

Posted: Fri Nov 14, 2014 6:37 am
by HermanHiddema
Looks like the SGF is invalid. On many nodes it has multiple C (comment) tags, something the spec specifically says is an error (http://www.red-bean.com/sgf/sgf4.html#2.2). In fact, the moves that are not showing up are exactly those that have multiple C tags. Those moves then all show up together as soon as a move occurs with only one, or no, C tags. Furthermore, the SGF in question does no escape ':' (colon characters) in text, which it should, according to spec (http://www.red-bean.com/sgf/sgf4.html#text), but that does not seem to cause problems.

Re: "Laggy" sgf files

Posted: Wed Nov 19, 2014 6:20 pm
by vier
HermanHiddema wrote:Looks like the SGF is invalid. On many nodes it has multiple C (comment) tags... Furthermore, the SGF in question does no escape ':' (colon characters) in text, which it should, according to spec (http://www.red-bean.com/sgf/sgf4.html#text), but that does not seem to cause problems.

The spec only asks for an escape of ':' when the colon is part of the syntactical structure (used in a compose data type).