-
Notifications
You must be signed in to change notification settings - Fork 56
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
Feature/make properties typed #1266
Conversation
4e2a186
to
5bf3d84
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1266 +/- ##
==========================================
- Coverage 58.02% 58.00% -0.03%
==========================================
Files 173 173
Lines 18562 18776 +214
==========================================
+ Hits 10771 10891 +120
- Misses 7791 7885 +94
☔ View full report in Codecov by Sentry. |
d490a17
to
ff2094a
Compare
* eliminate a lot of arc clones * replace String by ArcStr (wrapped Arc<str>) for cheap clone and to make it possible to support string deduplication * test string deduplication * implement string deduplication for property values * clean up warnings * expose meta data in core ops and minor cleanup
d9aa5c1
to
349da6e
Compare
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.
Couple of points/questions, but feel free to merge when happy.
} | ||
|
||
pub type Key = String; //Fixme: This should really be the internal usize index but that means more reworking of the low-level api | ||
pub type Key = ArcStr; //Fixme: This should really be the internal usize index but that means more reworking of the low-level api |
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.
Wanna make a ticket for this so we don't forget
|
||
fn edge_meta(&self) -> &Meta; | ||
|
||
fn graph_meta(&self) -> &GraphProps; |
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.
Should GraphProps be renamed to GraphMeta?
* take property insertion apart and put it back together again * fix tests that were testing broken behaviour * remove `"_id"` from properties and change stray ints to floats in python tests * fix warnings * String deduplication (#1269) * eliminate a lot of arc clones * replace String by ArcStr (wrapped Arc<str>) for cheap clone and to make it possible to support string deduplication * test string deduplication * implement string deduplication for property values * clean up warnings * expose meta data in core ops and minor cleanup * fix rebase issues and clean up warnings * dubious warning fix * attribute does not work, warning is still there * simplify edge addition and deletion * No more spin-locking for adding edges (instead get locks in consistent order)
What changes were proposed in this pull request?
Why are the changes needed?
Does this PR introduce any user-facing change? If yes is this documented?
How was this patch tested?
Issues
If this resolves any issues, please link to them here, the format is a KEYWORD followed by @_
KEYWORDS available are
close
,closes
,closed
,fix
,fixes
,fixed
,resolve
,resolves
,resolved
.Please delete this text before creating your PR
Are there any further changes required?