-
Notifications
You must be signed in to change notification settings - Fork 135
all/any builtins implemented using Truffle #239
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
d559e88
Non functional Truffle implementation of "all" builtin - test
OctaveLarose 334be4c
all() and any() builtin functions implemented in GraalPython. Only fo…
OctaveLarose 2bdbfa6
Temporarily removed any(), all() implementation now functional on dic…
OctaveLarose d63e8b5
all() now throws correctly if given a non-iterable object
OctaveLarose 0b3c21c
Functional all() implementation for every iterable (famous last words)
OctaveLarose a82ba4f
Added any() builtin, using very similar logic to all()
OctaveLarose 73ac20d
Specializations on lists/sets/tuples/dicts for all/any
OctaveLarose 3df7af0
Simply returns True when all() is given a dict
OctaveLarose 70d07cb
Fixed dict behaviour (now checks keys instead of entries)
OctaveLarose cd5bd76
Using GetNextNode + removed warnings
OctaveLarose d2a29a3
Added parent class to AllNode/AnyNode + fixed a bug related to Specia…
OctaveLarose 24c18fa
Removed fall-through bug + removed checkHashEntries()
OctaveLarose a5ab869
Using HashingStorageLibrary instead of PHashingCollection
OctaveLarose a432076
Optimization attempt by specializing on SequenceStorage subtypes
OctaveLarose ac14bc8
Utilizing LenNode for generic SequenceStorage objects
OctaveLarose 8b6104a
Attempts to cache PyObjectIsTrueNode and LenNode, reduces code duplic…
OctaveLarose 4a8c67f
Removed nodeType field
OctaveLarose 3107467
Removed shouldStopIteration function by "inlining" it
OctaveLarose fb93d4c
AllOrAnySequenceStorageNode: Removed factory generation annotation + …
OctaveLarose 784b19e
AllOrAnyNode: added child PyObjectIsTrueNode attribute
OctaveLarose 1828e55
Removed a broken import and an unused one in BuiltinFunctions
OctaveLarose 13a3b26
Removed unnecessary public qualifiers + changed AllOrAnyNode's parent…
OctaveLarose 80059f8
mx checkstyle (had left a public keyword behind accidentally) + code …
OctaveLarose 65bbacf
Shared annotation for AllOrAnyNode/GetClassNode instances
OctaveLarose 0fb7459
Fixed all builtin behavior
OctaveLarose 16b54b6
Ran Eclipse formatter for BuiltinFunctions changes
OctaveLarose aa7cde4
Removed public identifier on AllOrAnyNode + added static keyword to e…
OctaveLarose 5dd75dc
Merged doSet and doDict specialization methods
OctaveLarose de15e38
Loop profiling for all/any related methods
OctaveLarose 522e6ed
Fixed infinite loops + profiling for HashingStorage
OctaveLarose bceb24a
Fixed loop profiling for doObject in all/any implementations
OctaveLarose 66661b4
loopConditionProfile.profileCounted() calls instead of just profile()
OctaveLarose fa07d30
Fixed doBoolSequence() skipping some iterable elements
OctaveLarose 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 hidden or 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
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.