Question: How to Speed Up An Compression Application [message #1015706] |
Fri, 01 March 2013 20:33 |
|
elvis machuca Messages: 1 Registered: December 2012 |
Junior Member |
|
|
Hi,
I have been able to create a number base system class which allows me to handle higher than base 10, number integers and decimals. With this class I am trying to perform compression.
The program works, when I use lower bases (but higher than 10 bases), for example like 255 (base). But the thing is the program takes way to long.
For instance, as I am writing this, I increase the base to 60000, it has already past more than 10 minutes and the first part of the program, the compression part has not finished compressing the 389 characters string.
I mean, imagine for a text file, with 10 megabytes worth of characters. This program will probably take a life time.
Anyhow, I wrote this ticket to ask whether there is a way to speed up the application.
I think it becomes stuck in the fact that at some point, it has to do cross integer conversion to satisfy the base system. And all this conversion processes are taking way too long.
Help.
|
|
|
Re: Question: How to Speed Up An Compression Application [message #1015716 is a reply to message #1015706] |
Fri, 01 March 2013 21:26 |
|
On 3/1/2013 2:14 PM, elvis machuca wrote:
> Hi,
>
> I have been able to create a number base system class which allows me to
> handle higher than base 10, number integers and decimals. With this
> class I am trying to perform compression.
>
> The program works, when I use lower bases (but higher than 10 bases),
> for example like 255 (base). But the thing is the program takes way to
> long.
>
> For instance, as I am writing this, I increase the base to 60000, it has
> already past more than 10 minutes and the first part of the program, the
> compression part has not finished compressing the 389 characters string.
>
> I mean, imagine for a text file, with 10 megabytes worth of characters.
> This program will probably take a life time.
>
> Anyhow, I wrote this ticket to ask whether there is a way to speed up
> the application.
>
> I think it becomes stuck in the fact that at some point, it has to do
> cross integer conversion to satisfy the base system. And all this
> conversion processes are taking way too long.
>
> Help.
This forum isn't for questions about math, programming languages or
algorithms. It's about Eclipse, how to install it and how to work it.
You'll likely never get an answer to this question.
I'd suggest a forum, but you don't give enough information, so I'll
suggest stackoverflow.com, but caution you to tag it well.
|
|
|
Powered by
FUDForum. Page generated in 0.04407 seconds