Home arrow static arrow Java Programming [Archive] - string to string[] without looping
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - string to string[] without looping
This topic has 18 replies on 2 pages.    « Previous | 1 | 2 |

Posts:10,967
Registered: 4/7/01
Re: string to string[] without looping  
Aug 6, 2004 2:35 PM (reply 15 of 18)



 
Hmm, already asked.
 

Posts:37,103
Registered: 3/30/99
Re: string to string[] without looping  
Aug 6, 2004 2:49 PM (reply 16 of 18)



 
Hmm, already asked.

But not as succinctly as your question.
 

Posts:826
Registered: 7/1/03
Re: string to string[] without looping  
Aug 6, 2004 2:57 PM (reply 17 of 18)



 
If you use a smaller font, you can get both better
speed and less space.

This is my favorite answer. From now on I'll try to use 1pt fonts in every message.

/k1
 

Posts:5,965
Registered: 5/17/03
Re: string to string[] without looping  
Aug 6, 2004 9:26 PM (reply 18 of 18)



 
I wanted to do it because of performance issue.

Maybe you shoudln't use Strings at all. If you process text files it's much faster to read the characters into a byte array.
 
This topic has 18 replies on 2 pages.    « Previous | 1 | 2 |