| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
svn path=/trunk/libcss/; revision=5854
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This approximately halves the size of the interned string table.
We now have the following for allzengarden.css:
5507 slots used (of 8192 => 67.224121%)
Data:
3 full blocks: 12288 bytes
10 partial blocks: 38946 bytes (of 40960 => 95.083008%)
Total: 53488 (4112) (32)
Entries:
21 full blocks: 86016 bytes
1 partial blocks: 2096 bytes (of 4096 => 51.171875%)
Total: 90496 (4112) (32)
Hash structures: 65592
Which gives a total dictionary size of 209,576 bytes.
Note that 43% of this is parserutils_hash_entry structures (length-pointer pairs). It would be good, therefore, to be able to purge these.
svn path=/trunk/libcss/; revision=5852
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5848
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5847
|
|
|
|
|
|
| |
css21 is now language, as everything will share the same parsing rules (although there is facility to alter behaviour based upon the language level -- consult language->sheet->level and then decide what to do)
svn path=/trunk/libcss/; revision=5815
|
|
|
|
|
|
| |
through a singly linked list to find the end every time we want to insert a rule. This doubles parsing speed.
svn path=/trunk/libcss/; revision=5811
|
|
|
|
|
|
| |
previous approach. Space requirements for rule objects alone is now 447,120 bytes as opposed to 819,270 bytes previously. This reduces the space requirements for allzengarden.css to 2,041,712 bytes, which is 45% the size of what we had originally.
svn path=/trunk/libcss/; revision=5810
|
|
|
|
|
|
|
|
|
|
| |
use dict entries directly as strings.
iChange the way in which selectors are represented. This significantly reduces memory requirements -- reducing the approximate usage count (excludes the string dictionary, which is about 360k) of allzengarden.css from 4,535,400 bytes to 2,414,312 bytes on a 64bit platform.
The string dictionary is now created and owned by the stylesheet object. The parser is just given access to this so that it can store strings in it.
svn path=/trunk/libcss/; revision=5809
|
|
|
|
|
|
| |
stylesheet. Summary: lots.
svn path=/trunk/libcss/; revision=5808
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5807
|
|
|
|
|
|
| |
care about is the token type in this case.
svn path=/trunk/libcss/; revision=5806
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5805
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5804
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5803
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5802
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5801
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5800
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5799
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5798
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5797
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5796
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5795
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5794
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5793
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5792
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5790
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5789
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5788
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5787
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5786
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5785
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5784
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5783
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5782
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5781
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5780
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5779
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5778
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5777
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5776
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5775
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5774
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5773
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5772
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
max-width
min-height
min-width
orphans
outline-color
outline-style
TODO: fix all instances of the creation of bytecode with parameters. Currently, they only consult value to determine if there are additional parameters. This means that, in the case of inherit and the default value being one which takes parameters, spurious space is allocated in the bytecode.
svn path=/trunk/libcss/; revision=5771
|
|
|
|
|
|
| |
Fix parse_border_side_* to emit lengths correctly.
svn path=/trunk/libcss/; revision=5770
|
|
|
|
|
|
| |
Apparently, upper-greek doesn't exist, so remove it from the bytecode.
svn path=/trunk/libcss/; revision=5769
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5768
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5767
|
|
|
|
|
|
| |
Add testcase to exercise this.
svn path=/trunk/libcss/; revision=5766
|