weechat-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-cvs] [SCM] Fast, light and extensible chat client branch, share


From: Sebastien Helleu
Subject: [Weechat-cvs] [SCM] Fast, light and extensible chat client branch, shared-strings, created. v0.4.1-164-g674403f
Date: Sat, 10 Aug 2013 16:24:41 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Fast, light and extensible chat client".

The branch, shared-strings has been created
        at  674403f734fb459edbcfa7abb0c98db443896c55 (commit)

- Log -----------------------------------------------------------------
commit 674403f734fb459edbcfa7abb0c98db443896c55
Author: Sebastien Helleu <address@hidden>
Date:   Sat Aug 10 18:11:10 2013 +0200

    core: use shared strings for tags on lines
    
    It can reduce by about 30% the memory used for lines in a buffer.

commit c46d7e44f1c688596084928d89a611fb2047ff13
Author: Sebastien Helleu <address@hidden>
Date:   Sat Aug 10 17:31:48 2013 +0200

    core: add support of shared strings in split of strings (add functions 
string_split_shared and string_free_split_shared)

commit 49aacc853c2b7218bc2f87a95097cd9677fdf3e0
Author: Sebastien Helleu <address@hidden>
Date:   Sat Aug 10 17:25:14 2013 +0200

    core: add shared strings to reduce memory usage
    
    Shared strings are stored in a hashtable with pointer for keys (values are 
not
    used).
    
    The key has a reference count + the string.
    The initial reference count is set to 1 and is incremented each time the 
same
    string is asked.
    
    When removing a shared string, the reference count is decremented.
    If it becomes 0, then the shared string is removed from the hashtable (and 
then
    the string is really destroyed).

-----------------------------------------------------------------------


hooks/post-receive
-- 
Fast, light and extensible chat client



reply via email to

[Prev in Thread] Current Thread [Next in Thread]