Riley Dulin and Mike Grabowski
ddce06ffd1
Change new Date() to Date.now() to save on date allocations
...
Summary:
`new Date().getTime()` is equal to `Date.now()`.
`Date.now()` avoids an allocation, which can save some GC time.
This micro-optimization isn't worth it in most places, but since MessageQueue is one of the hottest pieces of JS in RN, it's worth it.
Reviewed By: javache
Differential Revision: D9972334
fbshipit-source-id: 05d78fd65304f0f27115d76b8b52db11a52c86a0
2018-10-02 14:27:00 +02:00
..
2018-06-19 23:48:12 -07:00
2018-08-13 21:38:57 +01:00
2018-08-13 21:38:58 +01:00
2018-05-10 19:10:38 -07:00
2018-07-19 19:02:13 -07:00
2018-10-02 14:27:00 +02:00
2018-08-13 21:38:57 +01:00
2018-06-20 00:47:21 -07:00
2018-07-30 11:17:08 -07:00
2018-06-06 05:32:06 -07:00
2018-09-21 15:39:44 +01:00
2018-09-21 09:22:17 -07:00
2018-08-13 21:38:57 +01:00
2018-08-13 21:38:57 +01:00
2017-08-09 07:48:09 -07:00
2018-06-19 23:48:12 -07:00
2018-08-13 21:38:58 +01:00
2018-08-13 21:38:57 +01:00
2018-08-13 21:38:57 +01:00
2018-08-13 21:38:57 +01:00
2018-04-25 07:37:10 -07:00
2018-05-10 19:10:38 -07:00
2018-09-21 15:42:20 +01:00
2018-08-13 21:38:57 +01:00
2018-06-10 13:45:57 -07:00
2018-09-11 15:26:54 -07:00
2018-10-02 14:20:36 +02:00
2018-08-13 21:38:57 +01:00
2018-05-10 19:10:38 -07:00
2018-08-13 21:38:58 +01:00
2018-06-19 23:48:12 -07:00
2018-08-13 21:38:57 +01:00
2018-06-20 00:47:21 -07:00
2018-09-11 16:09:59 -07:00
2018-09-11 15:25:16 -07:00
2018-08-13 21:38:57 +01:00
2018-08-13 21:38:57 +01:00
2018-05-10 19:10:38 -07:00
2018-05-10 19:10:38 -07:00
2018-08-13 21:38:57 +01:00
2018-08-01 15:32:01 -07:00
2018-02-16 18:31:53 -08:00
2018-09-11 15:25:23 -07:00
2018-07-31 21:01:41 -07:00
2018-09-11 16:11:16 -07:00
2018-08-13 21:38:57 +01:00
2018-08-13 21:38:57 +01:00
2018-06-28 11:49:32 -07:00
2018-03-08 12:10:14 -08:00
2018-08-13 21:38:57 +01:00
2018-02-27 08:42:14 -08:00
2018-05-10 19:10:38 -07:00
2018-05-10 19:10:38 -07:00
2018-08-13 21:38:57 +01:00