Skip to content

Commit

Permalink
doc: deprecate smalloc module
Browse files Browse the repository at this point in the history
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: #1566
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
  • Loading branch information
bnoordhuis committed Apr 30, 2015
1 parent 1787416 commit 7dc8eec
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/api/smalloc.markdown
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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

0 comments on commit 7dc8eec

Please sign in to comment.