diff options
author | Björn Gustavsson <[email protected]> | 2012-12-19 15:46:53 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-01-22 19:20:12 +0100 |
commit | fbcb7fe589edbfe79d10d7fe01be8a9f77926b89 (patch) | |
tree | a7e5a695db24fb32d2baff4eb35baa795aa5be1e /lib/asn1/src/asn1ct_eval_uper.funcs | |
parent | a822c4a25d9855381632c124ed8ca0882a792e96 (diff) | |
download | otp-fbcb7fe589edbfe79d10d7fe01be8a9f77926b89.tar.gz otp-fbcb7fe589edbfe79d10d7fe01be8a9f77926b89.tar.bz2 otp-fbcb7fe589edbfe79d10d7fe01be8a9f77926b89.zip |
Optimize encoding of ENUMERATED in per and uper
Always pre-encode the values for the enumeration. Clean up the
code and let the per and uper back-ends share the code.
Diffstat (limited to 'lib/asn1/src/asn1ct_eval_uper.funcs')
-rw-r--r-- | lib/asn1/src/asn1ct_eval_uper.funcs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/asn1/src/asn1ct_eval_uper.funcs b/lib/asn1/src/asn1ct_eval_uper.funcs new file mode 100644 index 0000000000..884a486f40 --- /dev/null +++ b/lib/asn1/src/asn1ct_eval_uper.funcs @@ -0,0 +1,2 @@ +{uper,encode_constrained_number,2}. +{uper,encode_small_number,1}. |