Find Jobs
Hire Freelancers

Delphi: Speed optimize three string functions

$30-250 USD

Completed
Posted almost 4 years ago

$30-250 USD

Paid on delivery
Please find attached a sample project that includes a benchmark of three simple string functions: 1) StringCompareBegin(ShortStr, LongStr) - A case insensitive comparison that returns true if LongStr begins with ShortStr 2) StringCompareEnd(ShortStr, LongStr) - A case insensitive comparison that returns true if LongStr ends with ShortStr 3) TrimEx(InputStr, RemoveCharacters) - A case insensitive function that returns a version of InputStr with any characters of RemoveCharacters string removed from the beginning and end of the InputStr Your job is to write these three functions in a way they still work exactly the same way (i.e. produce the same output) but faster. The code must work with Delphi 10.4 with unicode strings (i.e. you cannot assume the input strings are A to Z only). The code can be either Delphi (i.e. pure pascal) or using inline assembler within Delphi code. You are free to use any free-to-use open source code assuming the code is BSD or similar licensed. (The file upload sometimes fails in Freelancer, so please send me a message if you cannot see the uploaded file with the code.)
Project ID: 26472096

About the project

5 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I have more than 20 years experience of Debugging, Reverse Engineering, Assembly, Delphi, C,C++ Developer. I have experience in Windows API, Network API,System programming,... I can do it very fast and reliable. Please contact me...
$250 USD in 1 day
5.0 (9 reviews)
5.4
5.4
User Avatar
Hello, I am in Delphi from version 1. Often have solved speed optimize problems. I have most of Delphi versions installed on different virtual machines. Currently, my last is 10.3 - probably, enough for your 10.4. A question. If I shall invoke Assembler (currently not sure) - should I support both 32 and 64 bit cases, or only one of them? Best regards, Maris Note. In StringCompareBegin_NEW and StringCompareEnd_NEW, probably, nothing better than Delphi StartsText and EndsText can be used. It should give improvement, but probably not very important. TrimEx_NEW can be significantly improved.
$99 USD in 3 days
4.9 (29 reviews)
5.3
5.3
5 freelancers are bidding on average $206 USD for this job
User Avatar
Hi. I'm programmer-mathematic with experience over 20 years. I can write these SPEED OPTIMIZED compare string functions on Delphi. Regards, Alex.
$250 USD in 7 days
5.0 (24 reviews)
5.2
5.2
User Avatar
Hello, I have almost 20 years experience in Delphi, this project seems to me an interesting and fun challenge to test my knowledge and creativity. And if they pay me for it, great! Regards!
$250 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of THAILAND
Chiang Mai, Thailand
5.0
659
Payment method verified
Member since Mar 16, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.