-
Notifications
You must be signed in to change notification settings - Fork 28
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
V0.2.0 #12
V0.2.0 #12
Conversation
- use new syntax for license - use default exclude rules
wait a sec, want to pull other minor changes here |
Should this be 0.2.0? |
Yeah, make this 2.0 |
@Manishearth hm, than let's make |
I'd rather not for now. |
I'm okay with a 1.0.0, I just don't have the bandwidth to do the reviews for it. |
Actually, let me write this down in the long form: I think upgrading unicode version for this crate should be considered a minor (that is, non-semver breaking) change. This is nice, because all depndencies will support newer unicode versions "for free". So, it makes sense to release this as OTOH, we really should do an 1.0.0 for this crate, and this is a good occasion for this! 1.0.0 shouldn't be disrupting, because this is not an interface crate. Making 1.0.0 makes sense, because literally half of the ecosystem depends on this crate via proc_macro2. If we want to treat unicode upgrades as semver breaking, than yes, it makes sense to do 0.2.0. However, I don't have a strong opinion here, so I'll just optimistically change this to 0.2.0. I'll also be happy to help with maintenance :) |
Travis fails on some tests. Yeah, I think in general we've made unicode updates breaking changes. But perhaps we shouldn't once we have 1.0.0. Note that unicode updates often come with algorithm changes (this one doesn't). Totally down for a 1.0.0, someone else needs to do the reviewing work. |
For some reason this implementation is 10x as slow as the stdlib, btw |
@Manishearth they use different algorithms: this crate uses binary search, stdlib uses a trie.
I think if we decide to move compiler over to this crate instead of libcore, t-compiler will be in charge of maintaining this (and will probably do 1.0) |
Sounds good. |
Should we also be using a trie? |
That's code-size/time trade off iiuc. I think binary search is a better default, because ASCII typically has a different fast-path, so we are not that concerned with performance. The "proper" solution here is to do both, via a feature flag. Should be relatively easy to do if we switch from python to https://github.com/BurntSushi/ucd-generate |
Perhaps a fast-path for ASCII characters would recover any performance loss here.
Ah... |
No description provided.