ObjFW  Ticket Change Details

Overview

Artifact ID: 67e75f0c3c38431c4c35c55da988fe91f6a828ed1167850a414fdf1e85d4f95d
Ticket: 31d1e19cd93a9f6044a1125fb1e1f080db5bf21b
Support for tagged pointer strings
User & Date: js on 2020-09-29 22:04:46
Changes

  1. icomment:
    While support for tagged pointers was merged in [](b4039f9a85), they are only being used by OFNumber and OFDate right now. It would be nice to also use them for short OFStrings. This requires a new OFString subclass.
    
    Since most short strings will be ASCII, tagged pointer strings can be limited to ASCII strings, requiring only 7 bit per character. This would allow storing up to 8 characters in a tagged pointer on 64 bit systems (even when increasing the tag size to a full 8 bits) and up to 4 characters on 32 bit systems (but the tag size needs to stay at the current 4 bits).
    
  2. login: "js"
  3. milestone changed to: "none"
  4. mimetype: "text/x-markdown"
  5. priority changed to: "Medium"
  6. severity changed to: "Important"
  7. status changed to: "Open"
  8. title changed to: "Support for tagged pointer strings"
  9. type changed to: "Feature_Request"