Gary Johnson wrote: > On 2016-01-09, Bram Moolenaar wrote: > > Patch 7.4.1064 > > Problem: When a spell file has single letter compounding creating > > suggestions takes an awful long time. > > Solution: Add the NOCOMPOUNDSUGS flag. > > Files: runtime/doc/spell.txt, src/spell.c > > Thanks. With the new runtime/spell files, performance is much > better.
Yes, I tracked it down to the mechanism to create numbers with compounding. It was trying lots of numbers before giving up. And repeating that at every position. Unfortunately all existing Vim binaries don't know the NOCOMPOUNDSUGS flag, thus the only way to make the spell file work well is by removing the compounding rules. So we don't have correct checking for "th" and "nd" after a number. Oh well. -- An SQL statement walks into a bar. He approaches two tables and says, "Mind if I join you?" /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
