M
Marcelo Barbudas
Hi.
How CPU intensive is File.exists? ?
I am thinking of adding theme support in my rails project. I want it to
check if theme image exists and if it doesn't display a default one.
This would mean a File.exists? for each image_tag call.
How CPU intensive is File.exists? ?
I am thinking of adding theme support in my rails project. I want it to
check if theme image exists and if it doesn't display a default one.
This would mean a File.exists? for each image_tag call.