From 7dc8eec0a61aab04a5b4eb6d7b9dcd77f37710ed Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 30 Apr 2015 11:10:18 +0200 Subject: [PATCH] doc: deprecate smalloc module Upcoming V8 changes will make it impossible to keep supporting the smalloc module so deprecate it now and tell people to switch to typed arrays. PR-URL: https://github.com/iojs/io.js/pull/1566 Reviewed-By: Jeremiah Senkpiel --- doc/api/smalloc.markdown | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/api/smalloc.markdown b/doc/api/smalloc.markdown index 80b4ce921d..69bef78f30 100644 --- a/doc/api/smalloc.markdown +++ b/doc/api/smalloc.markdown @@ -1,6 +1,10 @@ # Smalloc - Stability: 2 - Stable + Stability: 0 - Deprecated + +This module has been deprecated for technical reasons and will be removed when +the V8 JavaScript engine is upgraded to version 4.3 or 4.4. It is recommended +that you start using [typed arrays][] instead. ## Class: smalloc @@ -138,3 +142,5 @@ Enum of possible external array types. Contains: * `Float` * `Double` * `Uint8Clamped` + +[typed arrays]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays