David Holm abf99063dc file_io: Yield while loading directories
Yield at an interval during the loading of directory entries as well as
while sorting them in order to not starve the poll functions.

The maximum time between calls to `user_io_poll` in the main loop were
measured while loading a folder containing 29026 entries:

 - Original main-loop:       591ms
 - With coroutines + yields:  29ms

The amount of time it takes to load and sort the 29026 entries:

 - Original main-loop:       591ms
 - With coroutines + yields: 686ms

By increasing the value of `YieldIterations` in `file_io.cpp` the load
time will decrease while increasing the delay between calls to
`user_io_poll`.
2019-01-04 23:37:53 +01:00
2019-01-04 23:00:14 +01:00
2018-12-31 16:39:07 +08:00
2018-12-29 21:15:25 +08:00
2018-12-29 21:15:25 +08:00
2018-06-25 01:23:19 +08:00
2018-02-11 02:48:18 +08:00
2018-12-26 22:12:10 +08:00
2018-12-23 22:37:04 +08:00
2018-02-25 22:52:40 +08:00
2017-06-14 02:47:05 +08:00
2018-11-09 00:42:48 +08:00
2018-10-19 18:48:47 +08:00
2018-01-14 15:25:13 +08:00
2018-11-21 07:28:07 +08:00
2017-06-14 02:47:05 +08:00
2018-12-29 21:15:25 +08:00
2018-05-19 02:04:49 +08:00
2017-06-14 02:47:05 +08:00
2017-06-14 02:47:05 +08:00
2017-06-14 02:47:05 +08:00
2017-06-14 02:47:05 +08:00
2018-12-31 05:10:16 +08:00
2017-08-02 02:24:57 +08:00
2018-07-03 06:51:01 +08:00
2019-01-04 23:00:14 +01:00
2017-07-10 21:46:09 +08:00
2017-06-14 02:47:05 +08:00
2018-11-29 20:23:44 +08:00
2018-11-29 20:23:44 +08:00
2018-12-31 14:38:36 +08:00
2018-12-29 21:15:25 +08:00
2018-12-29 21:15:25 +08:00
2018-09-09 12:01:02 +08:00
2018-11-29 20:23:44 +08:00
2018-12-29 21:15:25 +08:00
2017-09-01 04:08:42 +08:00
2018-12-29 21:15:25 +08:00
2018-12-29 21:15:25 +08:00
Description
No description provided
GPL-3.0 16 MiB
Languages
C++ 66.5%
C 32.8%
HTML 0.3%
Shell 0.2%
Makefile 0.1%
Other 0.1%