From 5389be3dee15c677412e54968c8e71713f43f6b6 Mon Sep 17 00:00:00 2001
From: Lukas Larsson
Date: Tue, 5 Jul 2011 14:57:18 +0200
Subject: Start using asn1 nifs for OTP-PUB-KEY.asn1 asn1 will use an erlang
fallback if the nifs are not found
---
lib/public_key/asn1/Makefile | 2 +-
lib/public_key/doc/src/introduction.xml | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
(limited to 'lib')
diff --git a/lib/public_key/asn1/Makefile b/lib/public_key/asn1/Makefile
index 94abec083c..6b2a2bc3d9 100644
--- a/lib/public_key/asn1/Makefile
+++ b/lib/public_key/asn1/Makefile
@@ -65,7 +65,7 @@ EBIN = ../ebin
EXTRA_ERLC_FLAGS =
ERL_COMPILE_FLAGS += $(EXTRA_ERLC_FLAGS)
-ASN_FLAGS = -bber_bin +der +compact_bit_string +optimize +noobj +asn1config +inline
+ASN_FLAGS = -bber_bin +der +compact_bit_string +optimize +noobj +asn1config +inline +nif
# ----------------------------------------------------
# Targets
diff --git a/lib/public_key/doc/src/introduction.xml b/lib/public_key/doc/src/introduction.xml
index 8cf11ee10e..1f18ae7e89 100644
--- a/lib/public_key/doc/src/introduction.xml
+++ b/lib/public_key/doc/src/introduction.xml
@@ -48,5 +48,13 @@
of the concepts of using public keys.
+
+ Performance tips
+ The public_key decode functions will try to use the nifs which are in
+ the asn1 compilers runtime modules if they can be found. So for the best
+ performance you want to have the asn1 application in the path of
+ your system.
+
+
--
cgit v1.2.3
From fca6762375a70aa5d28782c5dd42a16f8e26aabc Mon Sep 17 00:00:00 2001
From: Lukas Larsson
Date: Thu, 21 Jul 2011 14:21:08 +0200
Subject: Both encode and decode nifs are now available in the asn1rt
---
lib/public_key/doc/src/introduction.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'lib')
diff --git a/lib/public_key/doc/src/introduction.xml b/lib/public_key/doc/src/introduction.xml
index 1f18ae7e89..a21fcf3576 100644
--- a/lib/public_key/doc/src/introduction.xml
+++ b/lib/public_key/doc/src/introduction.xml
@@ -50,10 +50,10 @@
Performance tips
- The public_key decode functions will try to use the nifs which are in
- the asn1 compilers runtime modules if they can be found. So for the best
- performance you want to have the asn1 application in the path of
- your system.
+ The public_key decode and encode functions will try to use the nifs
+ which are in the asn1 compilers runtime modules if they can be found.
+ So for the best performance you want to have the asn1 application in the
+ path of your system.
--
cgit v1.2.3