[Bug 24618] New: [0.11] add TpStringPool, a refcounted pool of strings

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 19 15:22:29 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=24618

           Summary: [0.11] add TpStringPool, a refcounted pool of strings
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: simon.mcvittie at collabora.co.uk
        Depends on: 24209


In Bug #24120, Will wrote:
> We should really add TpStringPool. It's silly to keep using the dynamic handle
> repo and have to explain all over the place that they're not actually handles.

I agree; we should split out most of the functionality of TpDynamicHandleRepo
into a TpStringPool class. I'm not sure whether the API should be in terms of
guint32 or string: probably both (like a generalization of GQuark), with faster
_by_id versions for the times when you already have the integer handy.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list