Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-15-2007, 05:32 PM
Member
 
Join Date: Nov 2007
Location: UK
Posts: 1
hawkmauk is on a distinguished road
Send a message via MSN to hawkmauk
Generating number sequences
I have managed to build my first java application which generates a sequence of numbers, formats them as a string (i.e. 10 reads as 00010), adds a delimiter and outputs them to a text file.

This all works however the performance is atrocious! I have tried several ways of generating my output string but none of them come close to the same application I wrote in perl.

Bearing in mind I am aiming to generate a text file with numbers of up to 1000000 what suggestions does anyone have as to the best way to accomplish this?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating Interface from a Class JavaForums Java Blogs 0 01-04-2008 01:20 PM
generating random numbers in a 5x5 array. acidacid New To Java 3 08-14-2007 05:44 AM
Generating Javadoc In Eclipse IDE JavaForums Eclipse 0 05-22-2007 11:34 PM
Generating Undeclared Methods JavaForums Eclipse 0 05-06-2007 06:58 AM
Oracle sequences orchid Database 5 04-19-2007 05:47 PM


All times are GMT +3. The time now is 10:53 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org