:100644 100644 0fea16d... 0000000... M	token.module

diff --git token.module token.module
index 0fea16d..fea373d 100644
--- token.module
+++ token.module
@@ -250,6 +250,11 @@ function token_replace($text, $type = 'global', $object = NULL, $leading = TOKEN
  *   Text with tokens replaced.
  */
 function token_replace_multiple($text, $types = array('global' => NULL), $leading = TOKEN_PREFIX, $trailing = TOKEN_SUFFIX, $options = array(), $flush = FALSE) {
+  if (strpos($text, $leading) === FALSE) {
+    // There are no tokens in the string; shortcut to avoid having to load tokens
+    return $text;
+  }
+
   $full = new stdClass();
   $full->tokens = $full->values = array();
 
