Ticket #957 (closed task: fixed)

Opened 3 years ago

Last modified 3 years ago

Decrease the size of class TMetaValue

Reported by: janez Owned by: janez
Milestone: 3.0 Component: library
Severity: minor Keywords:
Cc: Blocking:
Blocked By:

Description

The highest bit of TMetaValue::next can be used to store the isPrimitive flag.

Using TMetaValue::next is better than TMetaValue::id since id is accessed much more often and in many more places than next which is private to TMetaValue and its friends.

Change History

comment:1 Changed 3 years ago by janez

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.