Pascal Game Development
 

Pascal Gamedevelopment Library : CodeSnippets

PgdLib :: Categories :: PageIndex :: RecentChanges :: Login/Register

PGD Code Snippets

You may have noticed the little 'competition' that took place over the last 24 hours... sparked by Delfi posting a simple text parse with the challenge 'can you make it faster'. Well, out of that little challenge came a few attempts, the fastest provided by Arthurps, taking a mere 0.011ms to parse the string "the quick brown fox jumps over the lazy dog" into words.

I figured that was pretty useful, I know I'll be keeping it in my library for when I need to break a string up, so I thought I'd create a new section in the library for bits and pieces like it. I know there have been similar threads posted on the forums, but it's not always easy to find them so, we'll keep them here in one place where they are easy to find.

NOTE: When adding pages, please use the following link naming conventions:-

[[Snippet<X> <SHORT PAGE DESCRIPTION>]]


Snippets


Fast text parser/tokeniser - Submitted by Arthurps
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
 
 
Page was generated in 0.0355 seconds