Skip to content
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

Support for string arrays #748

Open
isosc opened this issue Jul 25, 2018 · 2 comments
Open

Support for string arrays #748

isosc opened this issue Jul 25, 2018 · 2 comments

Comments

@isosc
Copy link

isosc commented Jul 25, 2018

This is a followup on a discussion with @williamfgc and @pnorbert about adding support for string arrays (vector of strings, numpy array). The primary need is to extend the C++ API to support put and get of vectors of strings. Once that exists, extending this functionality into Python should be straightforward.

One design issue is how to serialize and deserialize this data structure to BP. We discussed a tentative strategy which involved storing a list of string sizes followed by the collapsed string data.

@eisenhauer
Copy link
Member

Just a note, this is very straightforward with the FFS marshaling employed by default in SST as the lower layer supports marshaling general pointer-based data structures. So as soon as the C++ API is set, I'd just need to tweak the data type conversions and it pretty much falls out.

@williamfgc
Copy link
Contributor

Is this available on BP5 or in the roadmap?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants