adsharma
adsharma
This could help with a different kind of polymorphism. Details [here](https://www.reddit.com/r/FastAPI/comments/1i1qkbe/looking_for_feedback_on_dataclass_sqlmodel/). Specifically: ``` @fquery.sqlmodel.model() @dataclass class Hero: ... ``` Creates two classes `Hero` (dataclass) and `HereoSQLModel` (sqlmodel). Using polymorphism, we...
One potential direction: I noticed that networkit recently switched to C++20, which supports `std::span`. It supports the idea of a view into memory owned by python (pandas or polars dataframe)....
Just to clarify the numbers being discussed here: * 9 secs - python wrapper around GVE - Leiden * 9 secs - networkit ParallelLiden end-to-end benchmark It's not surprising that...
[Example code](https://github.com/adsharma/supercsr/blob/main/test_supercsr.cpp#L242-L251). The idea is to support read-only graphs with zero copy efficiently and read-write graphs backed by vectors in one Graph class.
I read through some of the code. Looks like `REL` tables contain only `internalID_t`. Probably by design. Logic is likely that people rarely want `p2.id` alone. They want some attribute...
https://github.com/networkit/networkit/pull/1335 has a proposal to better integrate graph databases such as kuzu with parallel graph algorithms code. The idea is that kuzu would own the arrow formatted memory. The algo...
This [branch](https://github.com/adsharma/kuzu/tree/vaccuum) has a mostly vibe coded `VACUUM` command implementation (nop, prints a message and exits). I noticed that this was discussed in #4798 as well. Not sure what the...
I looked at `storage_info()` in a bit more detail: ``` kuzu> CALL storage_info('knows') RETURN column_name, sum(num_pages) as pages order by pages desc; ┌───────────────────┬────────┐ │ column_name │ pages │ │ STRING...
The feature seems to be functional! I'm using this script to test: https://gist.github.com/adsharma/3f0b204c55c7c48d9f94cde730cd1e40 python create_relationship_table.py --rows 10000000 --direction fwd python create_relationship_table.py --rows 10000000 --direction both 304M kuzu-10m-both 206M kuzu-10m-fwdonly 118M...
``` struct KUZU_API internalID_t { offset_t offset; table_id_t tableID; .. } ``` Looks like this structure takes 16 bytes. It's needed for the most general case. But in many cases...