pancake e56c784791
Optimize r_file_proc_size() reading by blocks instead of chars ##util (#17119)
* Optimize r_file_proc_size() reading by blocks instead of chars ##util

For /proc/self/maps this is almost 2x faster, will be much faster on bigger files

* Make it static, it's not even defined in r_file.h
* Rename `r_file_proc_size()` into `procfile_size()`

Co-authored-by: pancake <pancake@nopcode.org>
Co-authored-by: Anton Kochkov <xvilka@gmail.com>
2020-06-23 13:25:14 +08:00
..
2018-09-20 15:18:06 +02:00
2020-04-06 16:01:17 +08:00
2018-05-19 01:01:59 +02:00
2020-04-07 14:07:40 +02:00
2020-06-08 19:29:21 +08:00
2019-12-13 11:25:19 -06:00
2020-05-09 12:27:17 +02:00
2020-04-07 14:07:40 +02:00
2020-04-07 14:07:40 +02:00
2020-06-19 20:15:53 +08:00
2020-04-07 14:07:40 +02:00
2020-04-13 23:57:16 +02:00
2019-10-23 12:05:34 +02:00
2020-04-07 14:07:40 +02:00
2019-06-20 13:36:02 +08:00
2017-10-09 11:39:52 +02:00
2020-04-07 14:07:40 +02:00
2020-06-14 13:06:58 +08:00
2020-03-29 18:07:44 +02:00
2019-07-23 02:50:35 +02:00
2020-05-05 18:47:23 +02:00
2019-11-14 00:08:37 +08:00
2019-01-07 00:29:23 +01:00