classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Patch: use StringBuilder for reading/writing property f


From: Anthony Green
Subject: Re: [cp-patches] Patch: use StringBuilder for reading/writing property files
Date: Fri, 28 Oct 2005 17:05:03 -0700

On Fri, 2005-10-28 at 15:40 +0200, Mark Wielaard wrote:
> Interesting. What was the total running time before/after this patch?

I don't have the modified library anymore.

> Could you post your test program?

import java.io.*;
import java.util.*;

public class pread
{
    public static void main(String args[]) throws Exception
    {
        Properties p = new Properties();
        int i = 0;
        while (i != args.length)
          p.load (new FileInputStream (args[i++]));
    }
}

AG






reply via email to

[Prev in Thread] Current Thread [Next in Thread]