Closed yaoqiangpersonal closed 2 years ago
in the 'PayloadTrie.constructFailureStates()'. why is PayloadState<T> targetState = currentState.nextState(transition);queue.add(targetState);, rather than 'queue.add(transition);'
PayloadState<T> targetState = currentState.nextState(transition);queue.add(targetState);
If you have a PR to improve the code, please do so. If you have questions, perhaps StackOverflow can help?
in the 'PayloadTrie.constructFailureStates()'. why is
PayloadState<T> targetState = currentState.nextState(transition);queue.add(targetState);
, rather than 'queue.add(transition);'