F
friend.05
I have large file in following format.
Table A {
17.64.0.0|17;
32.58.34.192|26;
32.58.157.0|24;
32.106.15.0|24;
}
Table B {
32.106.80.0|21;
32.106.88.0|24;
32.106.192.0|20;
}
I want to read the file and store it in some data structure and then I
will go through the data structure and according to some codition I
will value I need and then I should also able to find it belongs which
table (Table A or Table B).
Which will efficient data structure to store this type data and then
also retrive it fast to see in which table it exist.
Right now I am using two dimensional array. But since it is very slow.
Table A {
17.64.0.0|17;
32.58.34.192|26;
32.58.157.0|24;
32.106.15.0|24;
}
Table B {
32.106.80.0|21;
32.106.88.0|24;
32.106.192.0|20;
}
I want to read the file and store it in some data structure and then I
will go through the data structure and according to some codition I
will value I need and then I should also able to find it belongs which
table (Table A or Table B).
Which will efficient data structure to store this type data and then
also retrive it fast to see in which table it exist.
Right now I am using two dimensional array. But since it is very slow.