mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Add V8 bug note to setData.
This commit is contained in:
@@ -3422,8 +3422,8 @@
|
|||||||
* Sets metadata for `func`.
|
* Sets metadata for `func`.
|
||||||
*
|
*
|
||||||
* **Note:** If this function becomes hot, i.e. is invoked a lot in a short
|
* **Note:** If this function becomes hot, i.e. is invoked a lot in a short
|
||||||
* period of time, it will trip its breaker and transition to an identity
|
* period of time, it will trip its breaker and transition to an identity function
|
||||||
* function to avoid garbage collection pauses.
|
* to avoid garbage collection pauses in V8. See https://code.google.com/p/v8/issues/detail?id=2070.
|
||||||
*
|
*
|
||||||
* @private
|
* @private
|
||||||
* @param {Function} func The function to associate metadata with.
|
* @param {Function} func The function to associate metadata with.
|
||||||
|
|||||||
Reference in New Issue
Block a user