| Summary: | decides whether to cache a used message based on length, not allocation | ||
|---|---|---|---|
| Product: | dbus | Reporter: | Simon McVittie <smcv> |
| Component: | core | Assignee: | Simon McVittie <smcv> |
| Status: | RESOLVED WONTFIX | QA Contact: | John (J5) Palmieri <johnp> |
| Severity: | minor | ||
| Priority: | low | CC: | hp |
| Version: | unspecified | Keywords: | patch |
| Hardware: | Other | ||
| OS: | All | ||
| URL: | http://git.collabora.co.uk/?p=user/smcv/dbus-smcv.git;a=shortlog;h=refs/heads/message-cache-34970 | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: |
DBusString: add _dbus_string_get_allocated
DBusMessage: only cache messages that don't have too many bytes allocated |
||
|
Description
Simon McVittie
2011-03-03 04:39:00 UTC
(Please disregard the original title of this bug, which was misleading.) Created attachment 44205 [details] [review] DBusString: add _dbus_string_get_allocated Created attachment 44206 [details] [review] DBusMessage: only cache messages that don't have too many bytes allocated Looks good. (But is the difference really that big that this matters?) (In reply to comment #4) > (But is the difference really that big that this matters?) Since messages are effectively add-only, I doubt it. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.