A little snip here, a little snip there
In order to pave the way for the next phase, I have done some trimming of the data structures used within the X-Reyes.
The chief culprit was the use of the svg:metadata element to store additional data (metadata if you like) about the primitives. I had used an:
<xr:bbox top="0" right="16" bottom="16" left="0"/>
element to store the bounding box of each primitive (and micropolygon). This, as I'm sure you can imagine is rather verbose. So I have done away with the svg:metadata element and now use an:
xr:bbox="0 16 16 0"
attribute instead. This has reduced the memory required to process an image by a third.
Sweet!
The chief culprit was the use of the svg:metadata element to store additional data (metadata if you like) about the primitives. I had used an:
<xr:bbox top="0" right="16" bottom="16" left="0"/>
element to store the bounding box of each primitive (and micropolygon). This, as I'm sure you can imagine is rather verbose. So I have done away with the svg:metadata element and now use an:
xr:bbox="0 16 16 0"
attribute instead. This has reduced the memory required to process an image by a third.
Sweet!