Skip to content
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

Move tokens to being objects #24

Open
gsnedders opened this issue Apr 16, 2013 · 2 comments
Open

Move tokens to being objects #24

gsnedders opened this issue Apr 16, 2013 · 2 comments
Milestone

Comments

@gsnedders
Copy link
Member

Using hashtables for tokens makes no sense; we should move to objects and then have the type implicit.

@gsnedders
Copy link
Member Author

Also note we have two different types of tokens: the tokenizer ones and the treewalker ones, which are not the same (because of attributes and namespaces).

@jayaddison
Copy link
Contributor

@gsnedders I've been doing a little work towards this (partly out of curiosity to see what the impact could be like), and should soon have a branch ready to offer with tokens-as-objects and a few related cleanups (attribute handling, in particular).

So far I'm seeing slight performance degradation as a result, so I'm doing a bit of investigation to figure out what might be causing that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants