Find Jobs
Hire Freelancers

Efficient I/O of Legacy Text File

$30-50 USD

Abgeschlossen
Veröffentlicht vor etwa 19 Jahren

$30-50 USD

Bezahlt bei Lieferung
I have a legacy 8-bit extended-ASCII text file (using the default code page) that I want to read line by line, convert to a C# string, manipulate and write back to a file. If I use the TextReader class to do this, it strips off the high bit, which ruins the file as it has characters with a value above 128. If I use the BinaryReader, it works, but the conversion to Unicode internally is EXTREMELY slow. The code is in the attached zip file, it works, but it is too slow. The task for this project is to optimize these routines and create a class for efficiently reading and writing "strings" to 8-bit legacy files. As I read the stream documentation at MSDN it seems like this should be possible to use built in classes to avoid the conversion from binary to unicode strings on a character by character basis, particularly with the string builder that seems very slow. I just can't figure out how to get the internal classes to do this. Attached are two files, [login to view URL] that contains code snippets that work, but are too slow, and [login to view URL] that contains a small sample of the type of text I'm reading. Your program should have a test harness with timers (to show the difference between various approaches, including my current approach) and a minimal GUI for testing. Documentation and testing are required (although in this case they should be fairly minimal.) Acceptable code must be at least two times as fast as the current approach (I don't think this should be very difficult, honestly) -Kelly ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform C# .NET enabled Windows.
Projekt-ID: 3535960

Über das Projekt

6 Vorschläge
Remote Projekt
Aktiv vor 19 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
See private message.
$25,50 USD in 20 Tagen
5,0 (41 Bewertungen)
5,1
5,1
6 Freelancer bieten im Durchschnitt $26 USD für diesen Auftrag
Avatar des Nutzers
See private message.
$21,25 USD in 20 Tagen
5,0 (39 Bewertungen)
5,6
5,6
Avatar des Nutzers
See private message.
$42,50 USD in 20 Tagen
4,4 (6 Bewertungen)
3,1
3,1
Avatar des Nutzers
See private message.
$25,50 USD in 20 Tagen
4,7 (4 Bewertungen)
2,2
2,2
Avatar des Nutzers
See private message.
$17 USD in 20 Tagen
5,0 (2 Bewertungen)
0,0
0,0
Avatar des Nutzers
See private message.
$21,25 USD in 20 Tagen
0,0 (2 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von UNITED STATES
Springville, United States
5,0
72
Zahlungsmethode verifiziert
Mitglied seit Dez. 19, 2002

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.