FastRun

class FastRun[A](p: Parsley[A])(ctx: Context)

This class enables a bunch of unsafe running functionality on parsers, which makes them run faster at the cost of thread-safety. Use at your own risk.

This class enables a bunch of unsafe running functionality on parsers, which makes them run faster at the cost of thread-safety. Use at your own risk.

Since

1.6.0

class Object
trait Matchable
class Any

Value members

Concrete methods

def parseFastUnsafe[Err](input: String)(`evidence$1`: ErrorBuilder[Err]): Result[Err, A]

This method allows you to run a parser with a cached context, which improves performance. If no implicit context can be found, the parsley default context is used. This will cause issues with multi-threaded execution of parsers. In order to mitigate these issues, each thread should request its own context with parsley.giveContext. This value may be implicit for convenience.

This method allows you to run a parser with a cached context, which improves performance. If no implicit context can be found, the parsley default context is used. This will cause issues with multi-threaded execution of parsers. In order to mitigate these issues, each thread should request its own context with parsley.giveContext. This value may be implicit for convenience.

Since

3.0.0