summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-10-21 22:53:40 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-10-21 22:53:40 +0000
commit5bdba222c49afa25a1befead9fb180a9a1a73406 (patch)
tree4509b13e82a5e5c11642a9f0cb3937be6fd1c0af /include
parentcb6afe7070b39d6158e71ef4caa3cf087aad0726 (diff)
downloadlibcss-5bdba222c49afa25a1befead9fb180a9a1a73406.tar.gz
libcss-5bdba222c49afa25a1befead9fb180a9a1a73406.tar.bz2
Reduce space requirements by squashing opcode + flags + value into 32 bits.
This has been achieved by reducing opcode's width from 16 to 8 bits. This is fine as there's 172 opcodes still available at present so plenty of room for expansion. Flags have been reduced from 16 to 10 bits wide and currently have 8 bits unused. This leaves 14 bits available for the opcode-specific value. No opcode needs all 14 bits at present. Inherit is now a global flag rather than a pre-defined value. This saves looking at the value field at all when styles are inherited and generally reduces complexity. svn path=/trunk/libcss/; revision=5616
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions