http://bugzilla.moblin.org/show_bug.cgi?id=5377

           Summary: performance improvement for .other.ini when used as
                    key/value store
    Classification: Moblin Projects
           Product: SyncEvolution
           Version: upstream
          Platform: Netbook
        OS/Version: Moblin Linux
            Status: ASSIGNED
          Severity: normal
          Priority: Undecided
         Component: * Feature Request
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
 Release Milestone: Undecided


The FileConfigNode uses a list of text lines as internal representation. That's
because it has to preserve the ordering of comment and assignment lines. When
treating it as a key/value store, some operations can take O(n^2) time, like
copying the file into itself (bug #5021).

That situation was easily avoided, but it is likely that the performance of the
TrackingSyncSource could be improved. Here's an idea:
* define that SyncSourceNodes::m_trackingNode doesn't support property comments
  (not needed anyway)
* write a HashFileConfigNode with the same on-disk format as FileConfigNode,
  but a more efficient internal representation (hash)
* instantiate that class for m_trackingNode

-- 
Configure bugmail: http://bugzilla.moblin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to