Overview
| Artifact ID: | dece934bdc04f69bbe904a87edd3106bccd92c82 |
|---|---|
| Ticket: | 1772004fffffffffffffffffffffffffffffffff
objReform |
| User & Date: | msofer on 2007-08-10 21:43:02 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
(all numbers on 32 b systems) A Tcl_Obj requires 24 bytes, a typical cache line fits 32 bytes. This means that about half the Tcl_Objs will occupy a single cache line, half will require two. Adding 8 bytes at the end of a Tcl_Obj insures that all Tcl_Obj are cache-aligned. The additional space can be used to store the stringRep for small strings, saving the alloc/free. Attached a proof-of-concept patch (hard wired for 32b, for 64b 16 bytes should be added).
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "msofer"
- subsystem changed to: "10. Objects"
- title changed to: "objReform"
- type changed to: "Patch"