Re: file tail is slooooow with http://
From: Bruce Hartweg (bruce-news_at_hartweg.us)
Date: 07/13/04
- Next message: lvirden_at_gmail.com: "Re: Using tcl and Expect in AIX"
- Previous message: Zoran Vasiljevic: "Re: Silly problem with threads"
- In reply to: Sektor van Skijlen: "file tail is slooooow with http://"
- Next in thread: Sektor van Skijlen: "Re: file tail is slooooow with http://"
- Reply: Sektor van Skijlen: "Re: file tail is slooooow with http://"
- Reply: Sektor van Skijlen: "Re: Re: file tail is slooooow with http://"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 13 Jul 2004 12:21:53 -0500
Sektor van Skijlen wrote:
> Let's try such a "filename":
>
> http://some.server.com/doc/123456789/1.2.3.4-some-document.txt
>
> for which I need only the last part: the name (1.2.3.4-some-document.txt).
>
> "file tail" needs about 5 seconds (!!!) to retrieve the last part of this
> name.
>
> Can someone explain me, why it takes so long? Or maybe there is any
> faster method to do that...
>
> Platform is SunOS (so I think ':' does not make a difference).
>
>
I think the time is somewhere else.
set x http://some.server.com/doc/123456789/1.2.3.4-some-document.txt
puts [file tail $x]
is instantaneous on both a windows box and a Solaris box.
look again at what you are timing and I bet you'll find something
else is the culprit.
Bruce
- Next message: lvirden_at_gmail.com: "Re: Using tcl and Expect in AIX"
- Previous message: Zoran Vasiljevic: "Re: Silly problem with threads"
- In reply to: Sektor van Skijlen: "file tail is slooooow with http://"
- Next in thread: Sektor van Skijlen: "Re: file tail is slooooow with http://"
- Reply: Sektor van Skijlen: "Re: file tail is slooooow with http://"
- Reply: Sektor van Skijlen: "Re: Re: file tail is slooooow with http://"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]