RetroArch/libretro-common
LibretroAdmin 7871e9fbc1 retro_vfs_file_open_impl - bunch of inefficiencies here:
- was doing a strlen first on path to calculate the length
- stored at least three local variables for string constants
- did another memcmp check after doing the length comparison conditional first
Simplify all this into a simple string comparison checking if the
path starts with the string 'vfsonly://' and/or 'cdrom://' -
avoid both strlen and memcmp cost. Also removed the need for
stdstring.h header include - just translated STRLEN_CONST into
(sizeof(x)-1) - no header file dependency for the only usage of stdstring.h
in this file
2022-08-03 15:07:02 +02:00
..
2022-08-02 11:34:41 +02:00
2022-07-19 21:31:26 +02:00
2020-01-31 15:43:42 +01:00
2022-03-27 18:03:35 +02:00
2020-01-31 15:43:42 +01:00
2020-12-13 21:21:21 +01:00