----- "Paul Cowan" <cowan@xxxxxxxxxx> wrote:
> ...
> So file format would become something along the lines of
>
> Byte Content
> 0 Header
> 32 TOC 1 (type = metrics)
> 48 TOC 2 (type = instances)
> 64 TOC 3 (type = values)
> 80 TOC 4 (type = strings; no change to TOC content required I
> think)
> 96 ... metrics instances + values follow as per normal ...
> x String 1
> x+256 String 2
> x+512 String 3
> ... and so on.
>
> Does this make sense? Seems relatively easy and low-impact, I think.
>
Yep, I think thats the way to go. We should implement the help text
support at the same time I think, using the same section type.
> Another option would be to have 2 types, STRING and SHORT_STRING, with
>
> values known to be short (<=15 bytes) shoved in the 16 bytes allowed
> for
> the pmAtom + DISCRETE/INTEGRAL space. Not sure if this is worth it.
Yeah, I dont think its worth handling the extra case, if the larger
string sections are supported.
cheers.
--
Nathan
|