Jump to content
Sign in to follow this  
  • entries
    557
  • comments
    1237
  • views
    423428

Untitled

Sign in to follow this  
Evil Steve

65 views

I'm beginning to think that my string class is overkill. Simple things like strcmp() are a lot more involved than I thought since each chunk can be a different length. For instance, the following strings are the same:
"Hello___" " Wor____" "ld______"
"Hello Wo" "rld_____"
Despite them being different lengths and having different blocks and things.

I bet I'll finish it, profile it, and find it's total crap compared to std::string. Oh well, I can at least turn it into a wrapper class or something. Still, it's an "experience"...
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!