Hi,
My app needs to potentially store a large number of custom objects and be
able to iterate through them quickly. I was wondering which data structure
would be the most efficient to do this,a hashtable or a generic list.
Is using enumerators to iterate through the data structure a good idea?
I'd appreciate any suggesstions or advice,
Thanks
Macca 15 3067
List should be the lighter/ simpler object, but why not you use the most
generic type of the collection that is Arraylist.
when you say large does that mean it is larger than 80 K ?
Again why you need a collection why not use a static array, assume that
custom objects are of same type and the length of the array is known.. as
you may know collection store object by boxing them and need to unbox before
recognizing them.. ,, which is a costly operation.
Nirosh.
"Macca" <Ma***@discussions.microsoft.comwrote in message
news:0D**********************************@microsof t.com...
Hi,
My app needs to potentially store a large number of custom objects and be
able to iterate through them quickly. I was wondering which data structure
would be the most efficient to do this,a hashtable or a generic list.
Is using enumerators to iterate through the data structure a good idea?
I'd appreciate any suggesstions or advice,
Thanks
Macca
again to itterate through a collection using enumerators is the recomended
way..
Nirosh.
Note: Until Generics come and remove this barior from collections later
"Macca" <Ma***@discussions.microsoft.comwrote in message
news:0D**********************************@microsof t.com...
Hi,
My app needs to potentially store a large number of custom objects and be
able to iterate through them quickly. I was wondering which data structure
would be the most efficient to do this,a hashtable or a generic list.
Is using enumerators to iterate through the data structure a good idea?
I'd appreciate any suggesstions or advice,
Thanks
Macca
If you want to iterate through an array of dynamic length use either List<T>
or ArrayList. I recomend List<Tover ArrayList if you know the type of the
objects that you are iterating through, else ArrayList would be fine.
I prefer List<Tof ArrayList over a Dictionary<Tor Hashtable in case you
do not want to search your objects using a key.
When coming to iteration technique, using index based iteration is 50%-75%
faster compared to iterating using IEnumerator for List<Tor ArrayList.
So make your choice wisely and based on the requirement.
--
Regards,
Aditya.P
"Macca" wrote:
Hi,
My app needs to potentially store a large number of custom objects and be
able to iterate through them quickly. I was wondering which data structure
would be the most efficient to do this,a hashtable or a generic list.
Is using enumerators to iterate through the data structure a good idea?
I'd appreciate any suggesstions or advice,
Thanks
Macca
Noting you....
When coming to iteration technique, using index based iteration is 50%-75%
faster compared to iterating using IEnumerator for List<Tor ArrayList.
this is true only when you are iterating for nothing.. but if you are to use
the corresponding object, you need to unbox it. That is when IEnumerator or
foreach loop produce much faster effiecient results...
Nirosh.
"Adityanand Pasumarthi" <Ad******************@discussions.microsoft.com>
wrote in message news:6E**********************************@microsof t.com...
If you want to iterate through an array of dynamic length use either
List<T>
or ArrayList. I recomend List<Tover ArrayList if you know the type of
the
objects that you are iterating through, else ArrayList would be fine.
I prefer List<Tof ArrayList over a Dictionary<Tor Hashtable in case
you
do not want to search your objects using a key.
When coming to iteration technique, using index based iteration is 50%-75%
faster compared to iterating using IEnumerator for List<Tor ArrayList.
So make your choice wisely and based on the requirement.
--
Regards,
Aditya.P
"Macca" wrote:
>Hi,
My app needs to potentially store a large number of custom objects and be able to iterate through them quickly. I was wondering which data structure would be the most efficient to do this,a hashtable or a generic list.
Is using enumerators to iterate through the data structure a good idea?
I'd appreciate any suggesstions or advice,
Thanks Macca
Hi Nirosh,
I doubt that is the case. The index based iteration on a List<Tor
ArrayList is always faster than IEnumerator based iteration.
Check the code below. It has both index based iteration and IEnumerator
based iteration. Run it for yourself and see the difference.
ArrayList al = new ArrayList();
for(int i = 1;i <= 1000000; i++)
al.Add(i);
long st = DateTime.Now.Ticks;
// Enumerator based iteration
//
//IEnumerator enumu = al.GetEnumerator();
//int pop = 0;
//enumu.MoveNext();
//while(enumu.MoveNext())
//{
//pop = Convert.ToInt32(enumu.Current);
//}
// Index based iteration
//
int length = al.Count;
int pop = 0;
for(int k = 0; k < length; k++)
{
pop = Convert.ToInt32(al[k]);
}
long et = DateTime.Now.Ticks;
Console.WriteLine(pop);
Console.WriteLine("Time: {0}", (et-st)/10000);
I had put pop outside the while/for loop and printing the value after the
while/for loop, so that C# compiler won't optimize it out.
On my system (1.7 GHz, 1GB RAM) the IEnumerator approach takes an average of
100 milliseonds. The index based approach takes an average of 50-60
milliseonds.
--
Regards,
Aditya.P
"Champika Nirosh" wrote:
Noting you....
When coming to iteration technique, using index based iteration is 50%-75%
faster compared to iterating using IEnumerator for List<Tor ArrayList.
this is true only when you are iterating for nothing.. but if you are to use
the corresponding object, you need to unbox it. That is when IEnumerator or
foreach loop produce much faster effiecient results...
Nirosh.
"Adityanand Pasumarthi" <Ad******************@discussions.microsoft.com>
wrote in message news:6E**********************************@microsof t.com...
If you want to iterate through an array of dynamic length use either
List<T>
or ArrayList. I recomend List<Tover ArrayList if you know the type of
the
objects that you are iterating through, else ArrayList would be fine.
I prefer List<Tof ArrayList over a Dictionary<Tor Hashtable in case
you
do not want to search your objects using a key.
When coming to iteration technique, using index based iteration is 50%-75%
faster compared to iterating using IEnumerator for List<Tor ArrayList.
So make your choice wisely and based on the requirement.
--
Regards,
Aditya.P
"Macca" wrote:
Hi,
My app needs to potentially store a large number of custom objects and be
able to iterate through them quickly. I was wondering which data
structure
would be the most efficient to do this,a hashtable or a generic list.
Is using enumerators to iterate through the data structure a good idea?
I'd appreciate any suggesstions or advice,
Thanks
Macca
Your code is not written utilizing the real usage of the collections
first you are storing a value type (integer) inside a collection
speficically optimized for reference type object..
second you are using Convert.ToInt32 middle of the itteration but the better
way would be
foreach(int k in al)
{
pop = k;
}
so I am not going further with the sample, but half of your statement is
perfectly correct
According to your comment
When coming to iteration technique, using index based iteration is
50%-75%
faster compared to iterating using IEnumerator for List<Tor
ArrayList.
You say that this applies to List<Tas well as ArrayList..
I Agreed if you only say that above statement only applies to List<T>.. you
may know what boxing and unboxing is.. when you use List<Tdoes it need
unboxing.. because the list store data in their original format.. so no
unboxing occurs, so it is closely similay to a static array of type T.. but
IEnumerator and foreach speficically build to reduce the perfomance lost
caused by unboxing and boxing when you itterate through a collection, which
store custom (or any) objects after boxing them to generic object type..
Nirosh.
"Adityanand Pasumarthi" <Ad******************@discussions.microsoft.com>
wrote in message news:15**********************************@microsof t.com...
Hi Nirosh,
I doubt that is the case. The index based iteration on a List<Tor
ArrayList is always faster than IEnumerator based iteration.
Check the code below. It has both index based iteration and IEnumerator
based iteration. Run it for yourself and see the difference.
ArrayList al = new ArrayList();
for(int i = 1;i <= 1000000; i++)
al.Add(i);
long st = DateTime.Now.Ticks;
// Enumerator based iteration
//
//IEnumerator enumu = al.GetEnumerator();
//int pop = 0;
//enumu.MoveNext();
//while(enumu.MoveNext())
//{
//pop = Convert.ToInt32(enumu.Current);
//}
// Index based iteration
//
int length = al.Count;
int pop = 0;
for(int k = 0; k < length; k++)
{
pop = Convert.ToInt32(al[k]);
}
long et = DateTime.Now.Ticks;
Console.WriteLine(pop);
Console.WriteLine("Time: {0}", (et-st)/10000);
I had put pop outside the while/for loop and printing the value after the
while/for loop, so that C# compiler won't optimize it out.
On my system (1.7 GHz, 1GB RAM) the IEnumerator approach takes an average
of
100 milliseonds. The index based approach takes an average of 50-60
milliseonds.
--
Regards,
Aditya.P
"Champika Nirosh" wrote:
>Noting you....
When coming to iteration technique, using index based iteration is
50%-75%
faster compared to iterating using IEnumerator for List<Tor
ArrayList.
this is true only when you are iterating for nothing.. but if you are to use the corresponding object, you need to unbox it. That is when IEnumerator or foreach loop produce much faster effiecient results...
Nirosh.
"Adityanand Pasumarthi" <Ad******************@discussions.microsoft.com> wrote in message news:6E**********************************@microso ft.com...
If you want to iterate through an array of dynamic length use either
List<T>
or ArrayList. I recomend List<Tover ArrayList if you know the type of
the
objects that you are iterating through, else ArrayList would be fine.
I prefer List<Tof ArrayList over a Dictionary<Tor Hashtable in case
you
do not want to search your objects using a key.
When coming to iteration technique, using index based iteration is
50%-75%
faster compared to iterating using IEnumerator for List<Tor
ArrayList.
So make your choice wisely and based on the requirement.
--
Regards,
Aditya.P
"Macca" wrote:
Hi,
My app needs to potentially store a large number of custom objects and be able to iterate through them quickly. I was wondering which data structure would be the most efficient to do this,a hashtable or a generic list.
Is using enumerators to iterate through the data structure a good idea?
I'd appreciate any suggesstions or advice,
Thanks Macca
Hi Nirosh,
If I use List<intand iterate through using foreach(int k in <ListObject>)
and compare its performance with the index based iterations on the same
List<intobject then the results are almost same, _but_ index based approach
slightly beats the foreach based approach by arounf 10-15%. This difference
is negligible while using List<Twith know types.
Where as if you do not know the type of the object you are placing in the
list then ArrayList would be your choice and if you are using ArrayList,
index based iteration performs better. Convert.ToInt32(...) in my sample does
not matter because I'm using the same for comparing IEnumerator and index
based iterations for ArrayList. For the argument sake even if I remove the
Convert.ToInt32(..) and just retrieve the object inside by ArrayList during
my iterations, index based approach is still 50-75% faster that IEnumerator
approach.
To summarize for ArrayList (for value or object types) I recommend index
based iterations. For List<TI still prefer index based iterations, but the
easy and maintainable syntax of foreach may be better (it is again one's
choice).
--
Regards,
Aditya.P
"Champika Nirosh" wrote:
Your code is not written utilizing the real usage of the collections
first you are storing a value type (integer) inside a collection
speficically optimized for reference type object..
second you are using Convert.ToInt32 middle of the itteration but the better
way would be
foreach(int k in al)
{
pop = k;
}
so I am not going further with the sample, but half of your statement is
perfectly correct
According to your comment
When coming to iteration technique, using index based iteration is
50%-75%
faster compared to iterating using IEnumerator for List<Tor
ArrayList.
You say that this applies to List<Tas well as ArrayList..
I Agreed if you only say that above statement only applies to List<T>.. you
may know what boxing and unboxing is.. when you use List<Tdoes it need
unboxing.. because the list store data in their original format.. so no
unboxing occurs, so it is closely similay to a static array of type T.. but
IEnumerator and foreach speficically build to reduce the perfomance lost
caused by unboxing and boxing when you itterate through a collection, which
store custom (or any) objects after boxing them to generic object type..
Nirosh.
"Adityanand Pasumarthi" <Ad******************@discussions.microsoft.com>
wrote in message news:15**********************************@microsof t.com...
Hi Nirosh,
I doubt that is the case. The index based iteration on a List<Tor
ArrayList is always faster than IEnumerator based iteration.
Check the code below. It has both index based iteration and IEnumerator
based iteration. Run it for yourself and see the difference.
ArrayList al = new ArrayList();
for(int i = 1;i <= 1000000; i++)
al.Add(i);
long st = DateTime.Now.Ticks;
// Enumerator based iteration
//
//IEnumerator enumu = al.GetEnumerator();
//int pop = 0;
//enumu.MoveNext();
//while(enumu.MoveNext())
//{
//pop = Convert.ToInt32(enumu.Current);
//}
// Index based iteration
//
int length = al.Count;
int pop = 0;
for(int k = 0; k < length; k++)
{
pop = Convert.ToInt32(al[k]);
}
long et = DateTime.Now.Ticks;
Console.WriteLine(pop);
Console.WriteLine("Time: {0}", (et-st)/10000);
I had put pop outside the while/for loop and printing the value after the
while/for loop, so that C# compiler won't optimize it out.
On my system (1.7 GHz, 1GB RAM) the IEnumerator approach takes an average
of
100 milliseonds. The index based approach takes an average of 50-60
milliseonds.
--
Regards,
Aditya.P
"Champika Nirosh" wrote:
Noting you....
When coming to iteration technique, using index based iteration is
50%-75%
faster compared to iterating using IEnumerator for List<Tor
ArrayList.
this is true only when you are iterating for nothing.. but if you are to
use
the corresponding object, you need to unbox it. That is when IEnumerator
or
foreach loop produce much faster effiecient results...
Nirosh.
"Adityanand Pasumarthi" <Ad******************@discussions.microsoft.com>
wrote in message
news:6E**********************************@microsof t.com...
If you want to iterate through an array of dynamic length use either
List<T>
or ArrayList. I recomend List<Tover ArrayList if you know the type of
the
objects that you are iterating through, else ArrayList would be fine.
I prefer List<Tof ArrayList over a Dictionary<Tor Hashtable in case
you
do not want to search your objects using a key.
When coming to iteration technique, using index based iteration is
50%-75%
faster compared to iterating using IEnumerator for List<Tor
ArrayList.
So make your choice wisely and based on the requirement.
--
Regards,
Aditya.P
"Macca" wrote:
Hi,
My app needs to potentially store a large number of custom objects and
be
able to iterate through them quickly. I was wondering which data
structure
would be the most efficient to do this,a hashtable or a generic list.
Is using enumerators to iterate through the data structure a good
idea?
I'd appreciate any suggesstions or advice,
Thanks
Macca
Hi,
It does depend of your objects, a list is just a linear collection of
objets, you could potentially have to iterate in the entire list to find an
element
a hashtable is a good start, even better if you find a good hash key in such
a way that you can divide the list in several sublist , like for example the
first letter of a string property, now you could have potentially 23
sublists. Of course this only helps if you search by the hashed property.
--
Ignacio Machin
machin AT laceupsolutions.com
"Macca" <Ma***@discussions.microsoft.comwrote in message
news:0D**********************************@microsof t.com...
Hi,
My app needs to potentially store a large number of custom objects and be
able to iterate through them quickly. I was wondering which data structure
would be the most efficient to do this,a hashtable or a generic list.
Is using enumerators to iterate through the data structure a good idea?
I'd appreciate any suggesstions or advice,
Thanks
Macca
Hi,
I forgot to mention that the hashtable structure I mentioned in the other
post should have a generic list as the hashtable value, is this list the one
that contains the elements matching the hashing key
--
Ignacio Machin
machin AT laceupsolutions.com
"Macca" <Ma***@discussions.microsoft.comwrote in message
news:0D**********************************@microsof t.com...
Hi,
My app needs to potentially store a large number of custom objects and be
able to iterate through them quickly. I was wondering which data structure
would be the most efficient to do this,a hashtable or a generic list.
Is using enumerators to iterate through the data structure a good idea?
I'd appreciate any suggesstions or advice,
Thanks
Macca
Hi,
Ignacio Machin ( .NET/ C# MVP ) wrote:
Hi,
It does depend of your objects, a list is just a linear collection of
objets, you could potentially have to iterate in the entire list to find an
element
a hashtable is a good start, even better if you find a good hash key in such
a way that you can divide the list in several sublist , like for example the
first letter of a string property, now you could have potentially 23
sublists.
Depending on the implementation, you might even have 26 of them ;-)
Of course this only helps if you search by the hashed property.
Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Adityanand,
Your test is not really capable of testing the real usage of a foreach or a
IEnumerator..
do some thing like this
change the first part of the code as this
for (int i = 1; i <= 300000; i++)
{
Button b = new Button();
b.Text = "Test" + i;
al.Add(b);
}
then do a *repetitive field or property access*
take the timing.. you will get surprise by the result you see..
probably some thing like
for (int k = 0; k < length; k++)
{
Button bk = (Button)al[k];
s = bk.Text;
}
and
foreach (Button t in al)
{
s = t.Text;
}
Theory is ..
if you are storing reference type object then store them in a collection
if you are processing data inside the collection then use foreach or
IEnumerator to iterate accross objects..
this is obviuosly with the exception of Generics
Nirosh.
"Adityanand Pasumarthi" <Ad******************@discussions.microsoft.com>
wrote in message news:90**********************************@microsof t.com...
Hi Nirosh,
If I use List<intand iterate through using foreach(int k in
<ListObject>)
and compare its performance with the index based iterations on the same
List<intobject then the results are almost same, _but_ index based
approach
slightly beats the foreach based approach by arounf 10-15%. This
difference
is negligible while using List<Twith know types.
Where as if you do not know the type of the object you are placing in the
list then ArrayList would be your choice and if you are using ArrayList,
index based iteration performs better. Convert.ToInt32(...) in my sample
does
not matter because I'm using the same for comparing IEnumerator and index
based iterations for ArrayList. For the argument sake even if I remove the
Convert.ToInt32(..) and just retrieve the object inside by ArrayList
during
my iterations, index based approach is still 50-75% faster that
IEnumerator
approach.
To summarize for ArrayList (for value or object types) I recommend index
based iterations. For List<TI still prefer index based iterations, but
the
easy and maintainable syntax of foreach may be better (it is again one's
choice).
--
Regards,
Aditya.P
"Champika Nirosh" wrote:
>Your code is not written utilizing the real usage of the collections
first you are storing a value type (integer) inside a collection speficically optimized for reference type object.. second you are using Convert.ToInt32 middle of the itteration but the better way would be foreach(int k in al) { pop = k; } so I am not going further with the sample, but half of your statement is perfectly correct
According to your comment
When coming to iteration technique, using index based iteration is
50%-75%
faster compared to iterating using IEnumerator for List<Tor
ArrayList.
You say that this applies to List<Tas well as ArrayList..
I Agreed if you only say that above statement only applies to List<T>.. you may know what boxing and unboxing is.. when you use List<Tdoes it need unboxing.. because the list store data in their original format.. so no unboxing occurs, so it is closely similay to a static array of type T.. but IEnumerator and foreach speficically build to reduce the perfomance lost caused by unboxing and boxing when you itterate through a collection, which store custom (or any) objects after boxing them to generic object type..
Nirosh.
"Adityanand Pasumarthi" <Ad******************@discussions.microsoft.com> wrote in message news:15**********************************@microso ft.com...
Hi Nirosh,
I doubt that is the case. The index based iteration on a List<Tor
ArrayList is always faster than IEnumerator based iteration.
Check the code below. It has both index based iteration and IEnumerator
based iteration. Run it for yourself and see the difference.
ArrayList al = new ArrayList();
for(int i = 1;i <= 1000000; i++)
al.Add(i);
long st = DateTime.Now.Ticks;
// Enumerator based iteration
//
//IEnumerator enumu = al.GetEnumerator();
//int pop = 0;
//enumu.MoveNext();
//while(enumu.MoveNext())
//{
//pop = Convert.ToInt32(enumu.Current);
//}
// Index based iteration
//
int length = al.Count;
int pop = 0;
for(int k = 0; k < length; k++)
{
pop = Convert.ToInt32(al[k]);
}
long et = DateTime.Now.Ticks;
Console.WriteLine(pop);
Console.WriteLine("Time: {0}", (et-st)/10000);
I had put pop outside the while/for loop and printing the value after
the
while/for loop, so that C# compiler won't optimize it out.
On my system (1.7 GHz, 1GB RAM) the IEnumerator approach takes an
average
of
100 milliseonds. The index based approach takes an average of 50-60
milliseonds.
--
Regards,
Aditya.P
"Champika Nirosh" wrote:
Noting you....
When coming to iteration technique, using index based iteration is
50%-75%
faster compared to iterating using IEnumerator for List<Tor
ArrayList. this is true only when you are iterating for nothing.. but if you are to use the corresponding object, you need to unbox it. That is when IEnumerator or foreach loop produce much faster effiecient results...
Nirosh.
"Adityanand Pasumarthi" <Ad******************@discussions.microsoft.com > wrote in message news:6E**********************************@microso ft.com...
If you want to iterate through an array of dynamic length use either
List<T>
or ArrayList. I recomend List<Tover ArrayList if you know the type
of
the
objects that you are iterating through, else ArrayList would be
fine.
I prefer List<Tof ArrayList over a Dictionary<Tor Hashtable in
case
you
do not want to search your objects using a key.
When coming to iteration technique, using index based iteration is
50%-75%
faster compared to iterating using IEnumerator for List<Tor
ArrayList.
So make your choice wisely and based on the requirement.
--
Regards,
Aditya.P
"Macca" wrote:
Hi,
My app needs to potentially store a large number of custom objects and be able to iterate through them quickly. I was wondering which data structure would be the most efficient to do this,a hashtable or a generic list.
Is using enumerators to iterate through the data structure a good idea?
I'd appreciate any suggesstions or advice,
Thanks Macca
>
Depending on the implementation, you might even have 26 of them ;-)
Or 28 if you live in Denmark :-)
/Søren Reinke
Adityanand Pasumarthi <Ad******************@discussions.microsoft.com>
wrote:
If you want to iterate through an array of dynamic length use either List<T>
or ArrayList. I recomend List<Tover ArrayList if you know the type of the
objects that you are iterating through, else ArrayList would be fine.
I prefer List<Tof ArrayList over a Dictionary<Tor Hashtable in case you
do not want to search your objects using a key.
When coming to iteration technique, using index based iteration is 50%-75%
faster compared to iterating using IEnumerator for List<Tor ArrayList.
So make your choice wisely and based on the requirement.
Iteration is rarely the performance bottleneck of the loop though,
unless you're doing almost nothing with the data. I'd make my choice
based mostly on readability - and that favours foreach in most
situations. I'd only look at performance when I knew it was an issue.
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Iteration is rarely the performance bottleneck of the loop though,
unless you're doing almost nothing with the data. I'd make my choice
based mostly on readability - and that favours foreach in most
situations. I'd only look at performance when I knew it was an issue.
And, if you run into performance issues with List<T>, I posted about this
on my blog: http://diditwith.net/PermaLink,guid,...e2ebf3a55.aspx.
Best Regards,
Dustin Campbell
Developer Express Inc.
HI ,
"Laurent Bugnion" <ga*********@bluewin.chwrote in message
news:Ok**************@TK2MSFTNGP04.phx.gbl...
Hi,
Ignacio Machin ( .NET/ C# MVP ) wrote:
>Hi,
It does depend of your objects, a list is just a linear collection of objets, you could potentially have to iterate in the entire list to find an element a hashtable is a good start, even better if you find a good hash key in such a way that you can divide the list in several sublist , like for example the first letter of a string property, now you could have potentially 23 sublists.
Depending on the implementation, you might even have 26 of them ;-)
Good point :) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Eirik WS |
last post by:
Is there a more efficient way of comparing a string to different words?
I'm doing it this way:
if(strcmp(farge, "kvit") == 0)
peikar_til_glas_struktur->farge = KVIT;
if(strcmp(farge, "raud") ==...
|
by: hoopsho |
last post by:
Hi Everyone,
I am trying to write a program that does a few things very fast
and with efficient use of memory...
a) I need to parse a space-delimited file that is really large,
upwards fo a...
|
by: mnmnm1951 |
last post by:
I am working with Sharepoint Services and am trying to add the
fileversion Metadata to the Versions.aspx page using the example from
the SDK. I have not done much with hashtables but it all looks...
|
by: Fred |
last post by:
I'm trying to build a hashtable and a arraylist as object value
I'm not able to retrieve stored object from the hashtable.
Hashtable mp = new Hashtable(); // THE HASHTABLE
ArrayList...
|
by: SK |
last post by:
Hey,
i have a hashtable, where I am adding some values. Now
when I iterate through them then they start in reverse
order, why is that happening and how can I get rid of it?
Thanks
|
by: J L |
last post by:
I have defined a structure
private structure FieldInfo
dim FieldName as string
dim OrdinalPostioin as Integer
dim DataType as Type
dim Size as Integer
end structure
I read this information...
|
by: Josh Mcfarlane |
last post by:
Just out of curiosity:
When would using std::list be more efficient / effective than using
other containers such as vector, deque, etc?
As far as I'm aware, list doesn't appear to be...
|
by: Nadav |
last post by:
Hello.
I have a Hashtable, to which I insert key and values.
When I go over the hashtable with "foreach" later on,
the items are not coming out at the order I inserted them.
A quickwatch showed...
|
by: Ken Fine |
last post by:
This is a question that someone familiar with ASP.NET and ADO.NET DataSets
and DataTables should be able to answer fairly easily. The basic question is
how I can efficiently match data from one...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |