Diab Jerius
2014-09-04 21:20:18 UTC
My PP routine takes a number of piddles, some of which are optional. To
pass the signature check, *something* must be there (a null piddle won't
cut it, unfortunately), but I don't want to wastefully allocate unused
space. Currently the code does the following:
1. populate a bitmapped flag variable in OtherPars (but not(!) called
flags; see https://sourceforge.net/p/pdl/bugs/363/) recording the optional
piddles which are present
2. stuff an existing piddle of the right dimensions into the unused
optional piddle slots (I'm reusing a required piddle for this)
I'm not terribly thrilled with that approach; it seems a bit kludgy.
Any other means of accomplishing the same thing which is a bit more elegant?
Thanks,
Diab
pass the signature check, *something* must be there (a null piddle won't
cut it, unfortunately), but I don't want to wastefully allocate unused
space. Currently the code does the following:
1. populate a bitmapped flag variable in OtherPars (but not(!) called
flags; see https://sourceforge.net/p/pdl/bugs/363/) recording the optional
piddles which are present
2. stuff an existing piddle of the right dimensions into the unused
optional piddle slots (I'm reusing a required piddle for this)
I'm not terribly thrilled with that approach; it seems a bit kludgy.
Any other means of accomplishing the same thing which is a bit more elegant?
Thanks,
Diab