Shavi Pathania
0fedb57cb0
docs(aio): Clearing array with [] ( #20369 ) ( #20395 )
...
Clearing array with setting length to 0 replaced with [] for being short
and marginally efficient. For reference: [] is turned into a sequence of
around 15 machine instructions on x64 (if bump pointer allocation succeeds),
whereas a.length=0 is a C++ runtime function call, which requires 10-100x as
many instructions.
Benedikt Meurer
PR Close #20395
2017-11-16 16:19:35 -06:00
..
2017-11-14 10:00:02 -08:00
2017-10-10 13:47:35 -07:00
2017-09-21 17:05:54 -07:00
2017-11-14 09:59:43 -08:00
2017-09-21 17:05:54 -07:00
2017-09-21 17:05:54 -07:00
2017-11-03 11:12:34 -07:00
2017-11-14 10:00:28 -08:00
2017-09-21 17:05:54 -07:00
2017-09-21 17:05:54 -07:00
2017-09-21 17:05:54 -07:00
2017-09-21 17:05:54 -07:00
2017-09-21 17:05:54 -07:00
2017-09-21 17:05:54 -07:00
2017-11-14 10:00:23 -08:00
2017-09-21 17:05:54 -07:00
2017-09-21 17:05:54 -07:00
2017-11-02 14:22:09 -07:00
2017-11-16 16:19:35 -06:00
2017-09-21 17:05:54 -07:00
2017-09-21 17:05:54 -07:00
2017-10-06 11:56:41 -07:00
2017-04-20 16:04:06 +01:00
2017-11-14 10:00:17 -08:00
2017-09-21 17:05:54 -07:00
2017-09-21 17:05:54 -07:00
2017-09-21 17:05:54 -07:00
2017-06-19 10:32:36 -07:00
2017-09-21 17:05:54 -07:00
2017-11-01 14:14:08 -07:00
2017-09-21 17:05:54 -07:00
2017-09-21 17:05:54 -07:00
2017-11-06 10:02:17 -08:00
2017-11-06 10:02:17 -08:00
2017-11-06 10:02:17 -08:00
2017-11-06 10:02:17 -08:00
2017-11-16 16:19:35 -06:00
2017-11-16 16:19:35 -06:00
2017-11-16 16:19:35 -06:00
2017-11-16 16:19:35 -06:00
2017-09-21 17:05:54 -07:00
2017-09-21 17:05:54 -07:00
2017-11-14 10:00:31 -08:00
2017-11-14 10:00:31 -08:00
2017-09-21 17:05:54 -07:00
2017-06-09 14:33:21 +01:00
2017-09-21 17:05:54 -07:00
2017-11-01 15:18:43 -07:00
2017-04-15 22:15:54 +01:00
2017-05-03 13:44:41 -07:00