Find Jobs
Hire Freelancers

Improve speed on hash table/linked list function and multi thread

$30-5000 USD

Completed
Posted about 17 years ago

$30-5000 USD

Paid on delivery
I have a data structure that contains a linked list AND a hash table. Objects are stored in this data structure in both the linked list and the hash table. I am looking for three things: 1. Improve the existing, non-threaded, performance of the HashListContainer::Update() function. 2. Add a new function to perform the same functionality specifically targeted at 2 threads. HashListContainer::Update( int nthread = 2) 3. Add a new function to perform the same functionality for any number of threads 1,2,...64. The the hash table may be very sparsly populated so when updating I need to run through the linked list. The existing code in the Update function is: void HashListContainer::Update() { HashListObject^ Dummy = gcnew HashListObject(); HashListObject^ ball_prev; HashListObject^ ball = elements; ball_prev = Dummy; ball_prev->next_link = ball; while(ball != nullptr) { ball = Update(ball, ball_prev); ball_prev = ball; ball = ball->next_link; } elements = Dummy->next_link; } The complete classes and test program are attached. ## 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. 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 Microsoft Visual Studio 2005 C++ .NET Managed Code
Project ID: 2925673

About the project

1 proposal
Remote project
Active 17 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
See private message.
$102 USD in 12 days
4.9 (453 reviews)
7.5
7.5

About the client

Flag of UNITED STATES
Bonita Springs, United States
5.0
131
Payment method verified
Member since Oct 25, 2004

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.