-
Notifications
You must be signed in to change notification settings - Fork 328
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
Initial benchmarks for intersection types + a bit of speedup #11924
Merged
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
086d024
Ensure isAllTypes is compilation constant
JaroslavTulach a33965d
Using internal MultiType to represent Type[] but with guaranteed ==
JaroslavTulach 171c799
Merge remote-tracking branch 'origin/develop' into wip/jtulach/MultiT…
JaroslavTulach 775595c
Prefer partialEvaluationConstant assert
JaroslavTulach e2760ff
Benchmarks for intersection types
JaroslavTulach 630ec62
Usage of Map & co. must be behind @TruffleBoundary
JaroslavTulach 8defcfe
Unify findInteropTypeValue
JaroslavTulach d44d30e
Inline cache to find index of a type
JaroslavTulach 7b6d364
Use EnsoMultiValue.NewNode to allocate new instances of EnsoMultiValue
JaroslavTulach bda398a
Basic specializations for NewNode
JaroslavTulach 56b24aa
Splitting the FindIndexNode and caching requests for newNode
JaroslavTulach 2dcc2c4
Just ask only for types the value 'has been cast to'
JaroslavTulach ee080a3
Provide cachedTypes as the first argument to activate the caches
JaroslavTulach 53c2222
AllOfTypesCheckNode needs cached EnsoMultiValue.NewNode to allocate E…
JaroslavTulach 9567257
Moving EnsoMultiType into outer scope
JaroslavTulach 6bfdbf9
Sum re field of a Complex object in a Vector is the base benchmark
JaroslavTulach 4dacf53
Cache dispatch on EnsoMultiValue.getDispatchId
JaroslavTulach ebe0553
Turing allTypesWith method into EnsoMultiType.AllTypesWith node
JaroslavTulach 2301f9b
Only assert valid payload
JaroslavTulach 8d5452c
Speeding up non-reordering reorderOnly case twice
JaroslavTulach ed8799c
Merging with develop and resolving conflicts
JaroslavTulach 615b600
Don't use keyword as variable name
JaroslavTulach a68db22
Assert there is no intersection between dispatch and extra types
JaroslavTulach 98ebc39
Merge remote-tracking branch 'origin/develop' into wip/jtulach/MultiT…
JaroslavTulach a9f57f0
Avoiding duplications when Number & Integer & Float and co.
JaroslavTulach 035b2be
Merge branch 'develop' into wip/jtulach/MultiType11846
mergify[bot] 3f0a3e3
Merge branch 'develop' into wip/jtulach/MultiType11846
mergify[bot] 9503f79
Merge branch 'develop' into wip/jtulach/MultiType11846
mergify[bot] f515d8a
Merge branch 'develop' into wip/jtulach/MultiType11846
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
There are tests in Conversion_Spec that combine these types. Thus such a combination must be supported (and it clashes with assert checking each type is in multi value only once) - but it doesn't have to be fast. Thus
transferToInterpreter()
.