I am writing a script to tokenize file contents. I\'ve written a tokenizer in JavaScript, but it gets pretty slow with large files (5+ seconds). Since I\'m retrieving the fi
Its worth saying that another consideration for using PHP is the ability to cache server side. I'm looking at this considering if I should move some of the functions from JS to PHP because if I then cache the files server side there is no further calculations involved at all! I know this ticket is old but this may be another consideration for future readers.