-
Notifications
You must be signed in to change notification settings - Fork 14
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
Serialization of Resource and ResourceCollection yields database queries. #43
Comments
This is because rdf.rb is really slow at parsing and serialising lots of data, so the principle here was to let the database do the work. |
Ah, that makes much more sense now. Thanks! Serialization of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have noticed that the serialization methods (
to_rdf
,to_ttl
etc.) forResource
andResourceCollection
objects hit the database to retrieve resources that are previously loaded. Apart from the performance issues, this also means that the resources that are not persisted in the database cannot be serialized.Is there perhaps a specific reason behind this, such as making sure that the output is consisted with the persisted data?
The text was updated successfully, but these errors were encountered: