DFA state compression: 16-bit wide and sherman co-exist

This commit is contained in:
Hong, Yang A
2018-12-19 17:49:09 +08:00
committed by Chang, Harry
parent c7c4119750
commit c06d5e1c14
10 changed files with 894 additions and 72 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2017, Intel Corporation
* Copyright (c) 2016-2018, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -61,6 +61,7 @@ public:
u32 max_allowed_offset_accel() const override;
u32 max_stop_char() const override;
u32 max_floating_stop_char() const override;
DfaType getType() const override { return Sheng; }
private:
raw_dfa &rdfa;