-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
Napi rewrite #540
Merged
Merged
Napi rewrite #540
Commits on Dec 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 11797d8 - Browse repository at this point
Copy the full SHA 11797d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71e7823 - Browse repository at this point
Copy the full SHA 71e7823View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f03290 - Browse repository at this point
Copy the full SHA 9f03290View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fba29c - Browse repository at this point
Copy the full SHA 1fba29cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e37cda0 - Browse repository at this point
Copy the full SHA e37cda0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 085ef08 - Browse repository at this point
Copy the full SHA 085ef08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ede7b3 - Browse repository at this point
Copy the full SHA 3ede7b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20f2aea - Browse repository at this point
Copy the full SHA 20f2aeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6889722 - Browse repository at this point
Copy the full SHA 6889722View commit details -
Reuse LD_STRING_OR_BUFFER_TO_COPY() macro in ToSlice() function
The ToSlice() function corresponds to the old LD_STRING_OR_BUFFER_TO_SLICE() macro with the exception that we _always_ copy the buffer/string. I've chosen this approach for the following reasons: * We use the _same_ code for copying buffers/strings for iterators (e.g. for lt, lte, gt, gte etc) * The code for handling cleanup of leveldb::Slice() should always cleanup the underlying buffer (since we always copy) * For simplicity. At the moment of rewriting to napi it's a lot to keep in the head to move forward. Later on we should benchmark this and tweak/optimize if needed. Maybe it has a huge impact on performance, but until we know this for sure, I think we can simplify with good conscience. The difference between old LD_STRING_OR_BUFFER_TO_COPY
Configuration menu - View commit details
-
Copy full SHA for 182a58b - Browse repository at this point
Copy the full SHA 182a58bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 043508a - Browse repository at this point
Copy the full SHA 043508aView commit details -
This concludes the factory-test.js in abstract-leveldown
Configuration menu - View commit details
-
Copy full SHA for 57b0be4 - Browse repository at this point
Copy the full SHA 57b0be4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5613fb5 - Browse repository at this point
Copy the full SHA 5613fb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2acd4b6 - Browse repository at this point
Copy the full SHA 2acd4b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8de6618 - Browse repository at this point
Copy the full SHA 8de6618View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f09aaf - Browse repository at this point
Copy the full SHA 6f09aafView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7c6d93 - Browse repository at this point
Copy the full SHA f7c6d93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64ff8f6 - Browse repository at this point
Copy the full SHA 64ff8f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52ccc82 - Browse repository at this point
Copy the full SHA 52ccc82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79966af - Browse repository at this point
Copy the full SHA 79966afView commit details -
Implement the rest of iterator_seek()
This concludes the full abstract-leveldown test suite
Configuration menu - View commit details
-
Copy full SHA for 60b7982 - Browse repository at this point
Copy the full SHA 60b7982View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8aba0c3 - Browse repository at this point
Copy the full SHA 8aba0c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 023deae - Browse repository at this point
Copy the full SHA 023deaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc46554 - Browse repository at this point
Copy the full SHA fc46554View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0790470 - Browse repository at this point
Copy the full SHA 0790470View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad079a5 - Browse repository at this point
Copy the full SHA ad079a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1f94da - Browse repository at this point
Copy the full SHA a1f94daView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce049dd - Browse repository at this point
Copy the full SHA ce049ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50062ad - Browse repository at this point
Copy the full SHA 50062adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dfe434 - Browse repository at this point
Copy the full SHA 1dfe434View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02cceda - Browse repository at this point
Copy the full SHA 02ccedaView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb15d6e - Browse repository at this point
Copy the full SHA cb15d6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6001e1 - Browse repository at this point
Copy the full SHA d6001e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8855749 - Browse repository at this point
Copy the full SHA 8855749View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6aca8c8 - Browse repository at this point
Copy the full SHA 6aca8c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb34bf0 - Browse repository at this point
Copy the full SHA cb34bf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41c19a2 - Browse repository at this point
Copy the full SHA 41c19a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bcffea - Browse repository at this point
Copy the full SHA 4bcffeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 647c3dd - Browse repository at this point
Copy the full SHA 647c3ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42da176 - Browse repository at this point
Copy the full SHA 42da176View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4dd7f0 - Browse repository at this point
Copy the full SHA d4dd7f0View commit details -
Pass in leveldb::Slice into workers and not napi values
This is more for consistency, there were variants on this. Also makes it more clear where the slices are created
Configuration menu - View commit details
-
Copy full SHA for e80be43 - Browse repository at this point
Copy the full SHA e80be43View commit details
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.