https://github.com/JuliaLang/julia
Revision 862e0fe7bbc7da22ddbb6e6c70e29f28c95cfa56 authored by Jameson Nash on 25 February 2020, 15:41:10 UTC, committed by GitHub on 25 February 2020, 15:41:10 UTC
When the input type is a dispatch tuple, we know that a subtype lookup
is sufficient, so we can do a slightly more direct lookup and avoid
considering `Union{}`-declared methods as possible results.

This also fixes an issue with the special `jl_matching_methods` query
being done by `jl_insert_backedges`: we would set the `done` flag when a
method "fully covered" the result, even if that method was deleted.
Rather than continue to abuse the meaning of `world == 0` (which also
has performance implications), we add a specific flag for this case.
2 parent s 1bd0593 + 7bc7874
History
Tip revision: 862e0fe7bbc7da22ddbb6e6c70e29f28c95cfa56 authored by Jameson Nash on 25 February 2020, 15:41:10 UTC
gf: optimize jl_matching_methods for dispatch tuples (#34745)
Tip revision: 862e0fe
File Mode Size
base
contrib
deps
doc
etc
src
stdlib
test
ui
.appveyor.yml -rw-r--r-- 2.1 KB
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 273 bytes
.mailmap -rw-r--r-- 11.0 KB
.travis.yml -rw-r--r-- 6.1 KB
CITATION.bib -rw-r--r-- 2.6 KB
CONTRIBUTING.md -rw-r--r-- 21.4 KB
HISTORY.md -rw-r--r-- 275.6 KB
LICENSE.md -rw-r--r-- 5.0 KB
Make.inc -rw-r--r-- 41.0 KB
Makefile -rw-r--r-- 27.1 KB
NEWS.md -rw-r--r-- 4.9 KB
README.md -rw-r--r-- 6.3 KB
VERSION -rw-r--r-- 10 bytes
sysimage.mk -rw-r--r-- 3.8 KB

README.md

back to top