Browse Source

Added slight optimization.

release/0.19
JustinAJ 11 years ago
parent
commit
602d1ef4e8
  1. 2
      Jupiter/Readable_String_Imp.h
  2. BIN
      Release/Jupiter.lib

2
Jupiter/Readable_String_Imp.h

@ -814,6 +814,8 @@ template<typename T> size_t Jupiter::Readable_String<T>::tokenCount(const T *tok
{
if (tokenLength == 0 || tokenLength > this->size())
return 0;
if (tokenLength == 1)
return this->tokenCount(*token);
if (tokenLength == this->size())
return this->equals(token, tokenLength) ? 1 : 0;

BIN
Release/Jupiter.lib

Binary file not shown.
Loading…
Cancel
Save