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
Behaviour docs should be stored in the byte code too #3088
Comments
I’d like to give it a shot. |
@lexmag awesome! Go ahead and let me know if you have any questions. |
I think there are 2 possible places to store behaviour docs before adding them to beam chunk:
Personally, I like the first approach but not sure how it'll work with overlapped functions, e.g. @josevalim what are your thoughts on it? |
@lexmag very nice! I am not sure which one we should go either. @ericmj, @fishcakez and @alco, thoughts? Btw, if we decide to go with 2, I don't think we need |
In the meantime, while waiting for feedback, let’s fix the warnings in master. 😄
Can't we use |
@lexmag let's implement manually because the implementation will certainly be faster than the one in Dict (since we can specialize it here). Please do send a PR! |
I don't like the idea of |
After @fishcakez comment, I have realized that 1) is not backwards compatible. We are adding entries to the list which are not "callables". This will definitely break IEx autocomplete and likely other APIs. So let's go with 2. |
Feels reasonable. Will continue with the 2 option then. |
No description provided.
The text was updated successfully, but these errors were encountered: