Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Question: How to Speed Up An Compression Application(Compressing String of characters to a shorter length)
Question: How to Speed Up An Compression Application [message #1015706] Fri, 01 March 2013 20:33 Go to next message
elvis machucaFriend
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 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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.
Previous Topic:Extract from list
Next Topic:ERROR: java.util.PropertyResourceBundle
Goto Forum:
  


Current Time: Fri Mar 29 11:47:05 GMT 2024

Powered by FUDForum. Page generated in 0.04407 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top