Đã Hủy

Faster/Leaner Node Iterator

This is an expression evaluator program right now. The program has a GUI that consist of a text box to put in your mathematical expression and a TreeView control that display in a tree how the expression is structured.

Simple program. This is what I need help with.

I am testing a piece of code to make it faster and leaner for use in my larger project.

So anyone who can make the following code faster, leaner and use less resources, then bid on it.


This is what I need... a better performing implementation of the node interface's iterator() method.

Performance is measured as:

* Throughput in nodes per second.

* Heap utilization in nodes per kilobyte.

Performance is measured by the [url removed, login to view] tool which is included in the attachment distribution.

* You may add/modify/remove iterator() methods to/from any direct or indirect subclass of [url removed, login to view] (including abstract node's current implementation).

* You may not change any other code in the distribution.

* You may, however, add your own helper classes.

* You may only write pure Java code; JNI is not permitted.

* Give me correct codes please. In particular, your code must always return a valid iterator for any given node.

* However, you do not need to implement the remove() method besides signalling an UnsupportedOperationException (just like the current implementation does).

The Fonda tool prints measurements for a particular expression tree. Use the same tree for our evaluation of the submissions. But we may also use other trees.

Before changing anything, I suggest that you run the test program to get baseline performance numbers for your system:

$ java [url removed, login to view]

After a while, see output like this:

Fonda says...

Number of nodes : 10001

Latency : 15327 ms for 1000 tree traversals

Storage : 480256 bytes for 3 tree traversals

Throughput : 652508.64 nodes/second

Heap utilization : 63.97 nodes/KByte

Note that only the last two numbers matter. Bigger is better.

Give me the source code for any classes you modified and for any new helper classes you created.

Thats it. I need something good.

The files are uploaded in the zip file.

Kĩ năng: Java

Xem nhiều hơn: java leaner, what is a tree node, tree to box, trees c, tree node, source code in oop, pure storage, number of nodes in a tree, not always right, no of trees with n nodes, node of a tree, node in tree, iterator second, iterator it, iterator in c, how to use iterator, gui number, direct performance, what is performance testing, what is node

Về Bên Thuê:
( 0 nhận xét ) Bombay, India

ID dự án: #29428

10 freelancer đang chào giá trung bình $64 cho công việc này


Consider IT Done!

$40 USD trong 15 ngày
(15 Nhận xét)

Hello I am expert in optimizing Java code because I am a mobile device game developer so I need a fast code with restricted memory and small in size.

$30 USD trong 5 ngày
(1 Nhận xét)

Hi, I am not bidding for the project yet, just interested in the work as a hobby. One of the files is missing [login to view URL] can you please upload that as well? Thanks, Amit.

$100 USD trong 15 ngày
(0 Nhận xét)

We will doing all that you want (and more... :-))). Quickly, Professional, Quality - our answer you and your organization. We work more than 10 years.. There are questions? Examples of jobs http://portfolio.pixy-tix Thêm

$100 USD trong 14 ngày
(0 Nhận xét)

Hi, We take this opportunity to introduce ourselves as Vyas Infotech Private Limited, ISO 9001:2000, 14001 Certified IT Solution Provider Company based at Ahmedabad, India. Though we are new at Getafreelancer, we are Thêm

$100 USD trong 20 ngày
(0 Nhận xét)

Very much interested to work on your project. I have 7 years of experience!

$100 USD trong 14 ngày
(0 Nhận xét)

Hi, i specialize in optimaziting Java code, i would be more than happy to help you.

$30 USD trong 20 ngày
(0 Nhận xét)

we have prfessionals in java

$75 USD trong 15 ngày
(0 Nhận xét)

I had a quick look, and my throughput here was 2361511.22 nodes/second and is now 3107830.95 nodes/second. I can provide this right now for $30, or investigate further for $neg.

$30 USD trong 0 ngày
(0 Nhận xét)

This type of work would take concentration to develop and solve this type of [login to view URL] i am commited to do this type of project and expecting same from your side. thaks

$30 USD trong 5 ngày
(0 Nhận xét)