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

Untitled

Sign in to follow this  
Evil Steve

81 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!