Skip to content
Snippets Groups Projects
Commit c4a7a2ba authored by Ben Heasly's avatar Ben Heasly
Browse files

squeeze a hot spot from profiler

parent 873a7593
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,9 @@ classdef RtbAssimpStrategy < RtbBatchRenderStrategy
end
function isFileCandidate = mightBeFile(string)
isFileCandidate = ischar(string) && 1 <= sum('.' == string);
isFileCandidate = ischar(string) ...
&& ~isempty(string) ...
&& ~isempty(strfind(string, '.'));
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment