-
Notifications
You must be signed in to change notification settings - Fork 43
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
Revise Array, ArrayBuffer, BigInt, DataView builtins #1363
Conversation
Signed-off-by: Seonghyun Kim <[email protected]>
* Implement missing features on ArrayBuffer * Fix minor bug on BigInt, DataView and Array Signed-off-by: Seonghyun Kim <[email protected]>
…ength is below zero Signed-off-by: Seonghyun Kim <[email protected]>
Signed-off-by: Seonghyun Kim <[email protected]>
third_party/yarr/Vector.h
Outdated
public: | ||
using iterator = T*; | ||
using const_iterator = const T*; | ||
Escargot::Vector<T, GCUtil::gc_malloc_allocator<T>> impl; |
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.
minor) what about defining impl
as a private member, not public?
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.
Good idea!
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.
I've updated pr
If we want to store WTF::String with Vector or HashSet, we would use another type of allocator Signed-off-by: Seonghyun Kim <[email protected]>
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.
LGTM
No description provided.