« Previous | Next » 

Revision a18bc062

IDa18bc062a5ca51c44e3e0a41ee1aef267c5dc14e
Parent bbc1a31b
Child d19731a1

Added by Christian Müller almost 7 years ago

[TASK] Micro-optimization by replacing file_exists with is_file

If we know that we can expect a file and not a folder we can use
is_file instead of file_exists as it generally benchmarks faster and
actually is more expressive in those cases.

Change-Id: I64425a79cd7adce11b2dcff0c26ea1e49b0c1239
Releases: master

  • added
  • modified
  • copied
  • renamed
  • deleted