(imported topic written by lmpymilk)
if I run this in the relevance debugger it takes no more than 55 ms
lines
whose
(
exists
tuple string
item
0
whose
(
it
is
((
it
as
string)
of
(
“1.2.3.0”
)))
of
it
)
of
files
"C:\Stuff_1.0.0.0_255.255.255.255-CA3.txt"
if I run this in the relevance debugger it takes no more than 2.5 ms.
((
it
as
string)
of
(subnet address
of
adapters
whose
(dns suffix
of
it
contains
“.foobar.org”
)
of
networks))
but if I run this it always takes greater than 33000 ms.
lines
whose
(
exists
tuple string
item
0
whose
(
it
is
(((
it
as
string)
of
(subnet address
of
adapters
whose
(dns suffix
of
it
contains
“.foobar.org”
)
of
networks))))
of
it
)
of
files
"C:\Stuff_1.0.0.0_255.255.255.255-CA3.txt"
I think what is taking it so long is that it is collecting the subnet before checking each line. I’m hoping somebody can direct me to a better way.
Thanks
Chris