Riley Dulin
bbb2d9a5b3
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-09-21 11:11:33 -07:00
..
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-15 09:01:59 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-21 11:11:33 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-19 11:17:30 -07:00
2018-09-12 14:01:50 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2017-08-09 07:48:09 -07:00
2018-09-11 15:33:07 -07:00
2018-09-21 09:21:17 -07:00
2018-09-11 15:33:07 -07:00
2018-09-18 04:18:11 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-21 06:18:39 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-20 16:18:03 -07:00
2018-09-12 14:01:50 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-10 14:47:11 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-19 16:27:23 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-18 18:31:51 -07:00
2018-09-11 15:33:07 -07:00
2018-09-12 16:32:50 -07:00
2018-09-17 15:02:24 -07:00
2018-09-11 15:33:07 -07:00
2018-09-18 04:18:11 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 20:47:03 -07:00
2018-02-27 08:42:14 -08:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00