dee

DeeSequenceModel optimized getters

Bug #900629 reported by Mikkel Kamstrup Erlandsen on 2011-12-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Mikkel Kamstrup Erlandsen
dee
High
Mikkel Kamstrup Erlandsen
dee (Ubuntu)
Undecided
Unassigned
unity (Ubuntu)
Undecided
Unassigned

Bug Description

DeeSequenceModel falls back to the default impls of the type specific getters; dee_model_get_bool(), dee_model_get_*(), ... . These are implemented in DeeSerializableModel using a generic dee_model_get_value() call that twiddles the ref count on the variants. There is no need for this when doing it internally in the DeeSequenceModel, and we should add optimized impls of these functions since they are a *very* common code path.

Related branches

Changed in dee:
importance: Undecided → High
milestone: none → 1.0.0
status: New → Triaged
Changed in unity:
importance: Undecided → High
milestone: none → 5.0.0
status: New → Triaged
Changed in dee:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
Changed in unity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
summary: - DeeSequenceModel optimzed getters
+ DeeSequenceModel optimized getters
Changed in unity:
status: Triaged → Fix Committed
Changed in dee:
status: Triaged → Fix Committed
Didier Roche (didrocks) on 2012-01-12
Changed in dee:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dee - 1.0.0-0ubuntu1

---------------
dee (1.0.0-0ubuntu1) precise; urgency=low

  * New upstream release.
    - DeeModel support insert_sorted() and find_sorted() (LP: #913128)
    - Dee should support simple transactions (LP: #894023)
    - DeeSequenceModel optimized getters (LP: #900629)
    - DeeFilter and DeeFilterModel can not work properly with GI and/or PyGI
      (LP: #904293)
    - DeePeer and DeeSharedModel should support peer-2-peer DBus connections
      (LP: #904299)
    - Implement a DeeTreeIndex (LP: #622446)
    - DeeSharedModel should signal on remote transactions (LP: #912675)
    - Unable to use ModelTag from Vala with owned variables (LP: #911667)
    - DeeSequenceModel optimize signal emissions (LP: #901098)
    - DeeModel needs a benchmark suite (LP: #901100)
  * debian/rules:
    - enable documentation building (for daily build)
  * Do not use source 3 as doesn't work well with bzr merge-upstream
    when upstream is in bzr.
  * debian/control:
    - build-dep on gobject-introspection 0.10.2
    - readd Bzr-Vcs to be able to point to this branch
  * debian/dee-tools.install, debian/control:
    - add dee-tools package
  * debian/rules, debian/control, debian/*symbols, debian/*install:
    - handle ABI break and gir bump naming. Replaces: the right packages
      for the gir override file
    - update with new symbols
 -- Didier Roche <email address hidden> Thu, 12 Jan 2012 17:48:20 +0100

Changed in dee (Ubuntu):
status: New → Fix Released
Changed in unity (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers