Sept. 21, 2010
6:32 p.m.
On 21.09.2010 20:22, Adrian Lienhard wrote:
Here's the code I used to confirm Henrik's math:
table := Unicode classPool at: 'GeneralCategory'. count := table basicSize. 1 to: table basicSize do: [ :i | (table basicAt: i) isNil ifFalse: [ count := count + (table basicAt: i) basicSize ] ]. (count / 1024) asFloat
-> 66.8759765625
+ the headers of each subtable.
Cheers, Adrian Yes, except initially doing count := table basicSize*4 (4 bytes for a slot when class isBytes not) that's basically what I did. ~ due to not counting headers :)
Cheers, Henry