-
Notifications
You must be signed in to change notification settings - Fork 16
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
Can't marshal / serialize GoogleHash object #21
Comments
Not yet except maybe iterating over each key/value and writing them to On Mon, Mar 4, 2013 at 12:32 AM, Danyal Anik notifications@github.comwrote:
|
I'd be extremely interested in this, as I'd like to use this lib for my search engine, http://pickyrb.com/ – sorry that this is just a +1. |
Could somebody please elaborate on what their use case is for this? They On Sun, Feb 1, 2015 at 5:36 AM, Florian R. Hanke notifications@github.com
|
In Picky, I'd like to be able to dump/load the Hash-based indexes to/from disk. Currently, I could use |
Yes, I am using it the same way: calculating millions of combinations and storing them in google_hash while in app. Cannot really save them anywhere because google_hash is not dupable. |
OK are you folks all just looking for dumping native types or Ruby objects? On Mon, Mar 16, 2015 at 4:46 PM, Alex notifications@github.com wrote:
|
@rdp For me it's not as important how they are stored, just that they can be reloaded. |
what type of objects, though, does this include ruby objects or just native On Thu, Mar 19, 2015 at 10:25 AM, Florian R. Hanke <notifications@github.com
|
I think conversion of native objects is enough. Storing custom objects requires marshaling which is not a good idea at all. |
@rdp By "native", do you mean String/Numeric/…? |
Exactly, + symbols |
@rdp For me, it would already be great if "native" objects would be supported. |
Native means numeric in this case [I don't special store Strings yet, On Tue, Mar 24, 2015 at 4:34 AM, Florian R. Hanke notifications@github.com
|
Is there any way to marshall / searialze a google hash object? I would ideally like to create the hash, store it in a db, and then recreate it from the db.
The text was updated successfully, but these errors were encountered: