Class FastPathRouterImpl

java.lang.Object
dev.relism.flash.routing.AbstractRouter
dev.relism.flash.routing.routers.fastpathrouter.FastPathRouterImpl

public class FastPathRouterImpl extends AbstractRouter
Router backed by the fpr-core byte-level state machine. Routes are compiled lazily on the first request and recompiled when routes are added after startup. Matching runs on a virtual METHOD + path byte sequence in a single pass; MatchResult and FastPathViews.MethodPathByteView are reused per-thread to avoid hot-path allocations.