aboutsummaryrefslogtreecommitdiffstats
path: root/skate/url.go
diff options
context:
space:
mode:
Diffstat (limited to 'skate/url.go')
-rw-r--r--skate/url.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/skate/url.go b/skate/url.go
index 422d3ed..17c8ff8 100644
--- a/skate/url.go
+++ b/skate/url.go
@@ -30,8 +30,7 @@ func SanitizeURL(s string) string {
return s
}
}
- // seems to only be about 15% of total time spent
- index := suffixarray.New([]byte(s))
+ index := suffixarray.New([]byte(s)) // seems to only be about 15% of total time spent
indices := index.Lookup([]byte("http"), -1)
if len(indices) == 1 {
// ISSN-2177-4129periodicos.ufpel.edu.br/ojs2/index.php/Memoriahttp://dx.doi.org/10.15210/rmr.v8i14.7485