-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make Fsa inherit from Array2 and add some operator overloads in Array2 #58
Conversation
+1 |
Fsa now inherits from Array2, I will replace Fsa with Array2 in those Fsa related algorithms one by one. @danpovey @csukuangfj Please have a look. |
LGTM, thanks! |
OK with me |
+1 |
Thanks! Merging.. |
struct Fsa { | ||
// TODO(haowen): finally we will remove `arc_indexes` and `arcs`, but for now, | ||
// we would keep them to replace Fsa with Array2 incrementally. | ||
struct Fsa : public Array2<Arc *, int32_t> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that the stride of the underlying memory is always 1 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, for FSA
.
No description provided.