diff options
author | Lukas Larsson <[email protected]> | 2011-08-01 16:11:33 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-08-01 16:11:33 +0200 |
commit | a9b234504e155f1c44d7d1f93532c3224e10f439 (patch) | |
tree | c13d20223db3ac9e2b1ce9f0466be1570b5f15be /lib/asn1/src/asn1rt_per_bin.erl | |
parent | 673ca2801ca79c82ff9910ae7cd6578bff161851 (diff) | |
parent | f1ed5142afc7198778df27c61db48ea0979f95e1 (diff) | |
download | otp-a9b234504e155f1c44d7d1f93532c3224e10f439.tar.gz otp-a9b234504e155f1c44d7d1f93532c3224e10f439.tar.bz2 otp-a9b234504e155f1c44d7d1f93532c3224e10f439.zip |
Merge branch 'lukas/asn1/sof_length_and_default_optimizations/OTP-9440' into major
* lukas/asn1/sof_length_and_default_optimizations/OTP-9440:
Use lists:mapfoldl instead for a tiny performance gain
Move fixopt to do more work in ct than rt for opimized per_bin
Optmized encode_length by doing some calculations at compile time rather than runtime
Optmized decode_length by doing some calculations as compile time rather than runtime
Diffstat (limited to 'lib/asn1/src/asn1rt_per_bin.erl')
-rw-r--r-- | lib/asn1/src/asn1rt_per_bin.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asn1/src/asn1rt_per_bin.erl b/lib/asn1/src/asn1rt_per_bin.erl index 6bbca26209..a124c7553d 100644 --- a/lib/asn1/src/asn1rt_per_bin.erl +++ b/lib/asn1/src/asn1rt_per_bin.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2001-2009. All Rights Reserved. +%% Copyright Ericsson AB 2001-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -57,7 +57,7 @@ encode_NumericString/2, decode_NumericString/2, encode_ObjectDescriptor/2, decode_ObjectDescriptor/1 ]). --export([complete_bytes/1]). +-export([complete_bytes/1, getbits/2, getoctets/2]). -define('16K',16384). -define('32K',32768). |