Questions tagged [data-containers]
22 questions
0
votes
1 answer
readonly parameter with container Class (C#)
Ok so let's say that I have a data container class
public class DataContainer {
public Person person;
}
and we already create an instance of this class
DataContainer dataContainer = new DataContainer();
dataContainer.Person = new…

Xrs
- 31
- 1
- 5
0
votes
1 answer
Data Orientated Design; how do I optimize a data structure in c++ for performance?
I would like to have a class of varying number n of objects which are easily iterated over as a group, with each object member having a large list (20+) of individually modified variables influencing class methods. Before I started learning OOP, I…

Daggaz
- 9
- 1
0
votes
0 answers
Docker - MySQL containers on using the same volume of a data-only container
Currently, I'm trying to figure out on how to run multiple MySQL containers that uses the same volume from a data-only container. After running the first one and successfully created my database and records in there, I tried to run another new MySQL…

Hans
- 451
- 1
- 6
- 20
0
votes
2 answers
Lazy evaluation container for dynamic programming?
I have some pattern that works great for me, but that I have some difficulty explaining to fellow programmers. I am looking for some justification or literature reference.
I personally work with PHP, but this would also be applicable to Java,…

donquixote
- 4,877
- 3
- 31
- 54
0
votes
2 answers
.NET container for two-way conversion data?
I have conversion tables I need to contain in memory for fast access. Until now I used a simple Hashtable were the Key was the internal code, and the Value was an object holding the external code and other meta-data.
Now we need to have a reverse…

synhershko
- 4,472
- 1
- 30
- 37
-1
votes
1 answer
Suggest data container for array of arrays in iOS7
I need to put a UITableViewCell containing 3 UILabel and 1 UIImage into a UITableView.
What would be the best data container for this?
NSArrays in NSMutableArray?
NSDictionarys in NSMutableArray?
The 3 UILabel are not modifiable but the UIImage…

Poliquin
- 2,937
- 4
- 28
- 32
-2
votes
1 answer
Is there a container like the one I am asking for?
I was looking to implementing a c++ container object with following properties:
Keeps all the elements contiguously in memory, so that it can be iterated over without causing any cache misses.
Expandable, not like arrays which are of a fixed…

The Light Spark
- 504
- 4
- 19