Hi there,

        I was just looking at the list of strings, and - well - it seems there
are rather a lot that are related to the new framework / UI code [ most
likely ]. The bottom line is 130k wasted (plus ~substantial malloc
overhead).

cnt  name                           waste
                       7
uno:Undo
                     156
                       7
uno:ViewDataSourceBrowser
                     360
                       8
uno:AddDirect
                     252
                       8
uno:CharFontName
                     294
                       8
uno:HelpIndex
                     252
                       8
uno:InsertTable
                     280
                       8
uno:Zoom
                     182
                       9
uno:SubScript
                     288
                       9
uno:SuperScript
                     320
                      95
uno:
                    1692

        Full list: http://go-oo.org/~michael/framework-strs.ods

        It's not obvious off-hand where the duplicates come from ;-) perhaps
having a framework-global hash_set containing command names might be a
good idea (?)

        A full list of duplicated strings (as text) is here:

        http://go-oo.org/~michael/strlog8-sorted

        as you see the .uno: strings are [ after a load of fixes of worse
offenders ] becoming quite dominating in that list at 1/4 of the size:

$ cat /tmp/strlog8-sorted | grep -v '^      1' | grep '\.uno:' | wc -l
1088
$ cat /tmp/strlog8-sorted | grep -v '^      1' | wc -l
3899

        HTH,

                Michael.

-- 
 [EMAIL PROTECTED]  <><, Pseudo Engineer, itinerant idiot


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to