NineML performance boost

Hello folks,

Anyone playing along at home will want to grab the latest 0.8.x versions
of the NineML tools. Over the weekend I discovered a laughably,
catastrophically awful bug where I was performing a linear search of an
ever growing list over and over again.

Where previous versions of NineML parsed the ixml specification grammar
in about 13-14 seconds, version 0.8.0 does it in roughly 0.25s.

I believe that I also fixed a bug in the parser. I think this has
changed/improved/corrected the way ambiguous grammars are recognized,
but I haven’t chased that down to prove it yet.

                                        Be seeing you,
                                          norm

--
Norm Tovey-Walsh
Saxonica

Received on Monday, 7 March 2022 08:30:24 UTC