Closed lyudmil closed 8 years ago
This example gives you a few helpful pointers: https://github.com/kschiess/parslet/blob/master/example/optimized_erb.rb
Is this what you are looking for?
require 'parslet/accelerator'
Apologies, it is indeed not yet gemified in 1.5.0.
This is exactly what I was looking at, but unfortunately require parslet/accelerator fails for me. I reinstalled parslet from source and tried to run the example you referred to but no dice.
Oh, sorry, I didn't see your last comment there. I can gemify it for you if you don't want to deal with it right now. I just wanted to make sure there wasn't a specific reason one shouldn't use accelerators right now.
There's not. Can you work against master for now? I will release the accelerators as soon as someone brings me a use case ;)
(closing due to inactivity)
Thank you for all your great work. Parslet is awesome.
I've unfortunately run into the dreaded problem of needing to parse rather large files, which means I'm running into problems with performance. Are accelerators ready to try? I've updated my parslet dependencies to use the master branch, but I cannot seem to load parslet/accelerators.