emboss/krypt-core — Issue #31: Optimize inf length constructive encoding
Author: emboss
Created: 2012-01-28 18:16:54+00:00
State: open
Labels: feature

For definite length, we need to precompute the encoding in order to determine its length. This is not needed for infinite length, we can write the header right away and encode to the stream immediately. Optimize for this case.