Skip to content

Commit 7dc8eec

Browse files
committed
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: #1566 Reviewed-By: Jeremiah Senkpiel <[email protected]>
1 parent 1787416 commit 7dc8eec

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/api/smalloc.markdown

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Smalloc
22

3-
Stability: 2 - Stable
3+
Stability: 0 - Deprecated
4+
5+
This module has been deprecated for technical reasons and will be removed when
6+
the V8 JavaScript engine is upgraded to version 4.3 or 4.4. It is recommended
7+
that you start using [typed arrays][] instead.
48

59
## Class: smalloc
610

@@ -138,3 +142,5 @@ Enum of possible external array types. Contains:
138142
* `Float`
139143
* `Double`
140144
* `Uint8Clamped`
145+
146+
[typed arrays]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays

0 commit comments

Comments
 (0)