good catch!  This still a really slow function.  I believe cstruct now has optimised functions that may eliminate the need for it at all...