We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 796062c commit 94b7dd0Copy full SHA for 94b7dd0
src/FileFormats/LP/read.jl
@@ -106,9 +106,10 @@ function Base.read!(io::IO, model::Model{T}) where {T}
106
return
107
end
108
109
-
110
-# We want an efficient way to check if `test.value` is a case-insensitive
111
-# version of `target`. This is run for every identifier, so it needs to be fast.
+# We want an efficient way to check if `test` is a case-insensitive version of
+# `target`. We won't want `lowercase(test) == target` because this involves
+# allocating a new string, and we check many identifiers to see if they are
112
+# keywords.
113
function _compare_case_insenstive(test::String, target::String)
114
if length(test) != length(target)
115
return false
0 commit comments