On Saturday, March 21, 2015 at 10:43:31 AM UTC-5, Edward K. Ream wrote:

> *fc.gnxDict:* This is the likely culprit if problems persist.

The present code urgently needs revision.  It's way too complex.  Here are 
the principles:

1. *Ever-increasing*:  No items will ever be deleted from this dict.

2.* Limited setters*: The read code adds entries when it sees <v> 
elements.  Thereafter, only ni.getNewIndex should add new entries.

3. *Constant checks*: All setters will ensure that the to-be-created gnx is 
not already in fc.gnxDict.  This check is super fast, and super important.

4. *No ifs*: Per #1 above, the dict will never be saved, restored or 
otherwise messed with. It must be obvious that gnxDict is always correct.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to