473,399 Members | 3,656 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Loading large files

Hello all,

I'm trying to make a 3D transformation with image data. For the 3rd 1 D
transformation I have to jump in a 12Gbyte file, to get the data for the
transformation. The jumpimg in the file cost a lot of time. I am doing the
filehandling with help of the filestream and binaryreader class in C#. Is
there an other (faster) way existing, to read the data out of the file?

Thanks in advance,

regards

Gregor
Nov 16 '05 #1
1 1495
Gregor,

You might get faster performance by using just the FileStream, and
converting the items in the list yourself.

When using the BinaryReader, it might be buffering information. You
should make sure that your stream is set to the position you want to begin
reading from before you pass it to the BinaryReader.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Gregor Wind" <gr*********@gmx.de> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hello all,

I'm trying to make a 3D transformation with image data. For the 3rd 1 D
transformation I have to jump in a 12Gbyte file, to get the data for the
transformation. The jumpimg in the file cost a lot of time. I am doing the
filehandling with help of the filestream and binaryreader class in C#. Is
there an other (faster) way existing, to read the data out of the file?

Thanks in advance,

regards

Gregor

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jonathan | last post by:
Hi, I installed a Apache 2.0.47, PHP 4.3.2 and MySQL 3.23.38 on windows2000 and I installed a forum on which I enabled the feature to upload files. Together with some friends of mine I make music...
4
by: Matt Sawyer | last post by:
I am attempting to use an API (CxApiOem.dll) that has a large number of defines and complicated structs. It's just too much hassle to attempt to use DLLImport to make the desired API calls. ...
4
by: blackhawk | last post by:
I need to build a web page that has to potentially display a large amount of data in two grids on the same page. The HTML file with all of the formatting is about 7MB in size. This is too large...
9
by: MSDousti | last post by:
Hi How can I load a text file into a TextBox? I have used System.Text.StringBuilder for fast loading. This method works fine under windows XP, but it does not work in windows 98. Any idea...
27
by: Chris Tomlinson | last post by:
Hi, is there any way to specify the sequence in which images load on a web page? More specifically, here is what we need to achieve: Image1 starts loading first and the browser does not...
2
by: 20050407 prerelease | last post by:
Hi! Is it possible in a fairly portable manner to load additional javascript code from a WWW URL? This would be useful for large-scale projects.
6
by: Ivan Bútora | last post by:
I have recently looked at http://alistapart.com/articles/imagegallery to implement a simple picture gallery on a webpage that I'm working on. Everything works fine; however, I have one question....
0
by: Jaret Brower | last post by:
I'm trying to parse html that resides locally by using the HtmlDocument class and unfortunately you can only get an instance of an HtmlDocument through the WebBrowser control. Some of the html...
5
by: yeoj13 | last post by:
Hello, I have a db2load script I'm using to populate a large table. Ideally, my target table is required to have "Not Null" constraints on a number of different columns. I've noticed a ...
1
by: terrybali | last post by:
Hi Guys I am new to forum and nontechnical. My site has several large flash files. I am looking for someone who can help us solve two problems. Willing to pay whatever normal rate is for this...
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.