Re: Smooth lines in Picturebox
- From: "Schmidt" <sss@xxxxxxxxx>
- Date: Thu, 12 Oct 2006 19:58:44 +0200
"Mike Williams" <mike@xxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:eemdBKi7GHA.1012@xxxxxxxxxxxxxxxxxxxxxxx
But I'm still a little surprised by the fact that your Byte arrayOk, the original MS-Implementation has to deal with all possible
"mode 4" code is as fast or faster than the equivalent API
StretchBlt call.
Zoom-Factors - mine is specialized only for the "divide by 2 in
both directions"-case.
Mind you, perhaps I shouldn't be too surprised.No, the VB-C-Compiler (C2.exe) is only 10%-15% behind its
pendant in MS-VC6 (full optimization-flags set in both cases).
I've found, that a good implemented, native compiled VB-Algo
has always good chances, to outperform the original WinAPI-
Implementation.
I once wrote some standard VB code when I had VB5 whichGood example - and welcome in the "VB-Replace-Replacement-
used Byte arrays to perform a "replace substrings with different
substrings" in some large text strings and when VB6 eventually
came out I was a little surprised to discover that my own VB5
code was as fast as and often faster than the new native VB6
Replace function.
community". ;-)
look at: http://www.xbeat.net/vbspeed/c_Replace.htm
(up to 17 times faster than the original implementation is to beat)
Olaf
.
- Follow-Ups:
- Re: Smooth lines in Picturebox
- From: Jim Carlock
- Re: Smooth lines in Picturebox
- References:
- Smooth lines in Picturebox
- From: RB Smissaert
- Re: Smooth lines in Picturebox
- From: J French
- Re: Smooth lines in Picturebox
- From: bart.smissaert@xxxxxxxxx
- Re: Smooth lines in Picturebox
- From: J French
- Re: Smooth lines in Picturebox
- From: RB Smissaert
- Re: Smooth lines in Picturebox
- From: Schmidt
- Re: Smooth lines in Picturebox
- From: Mike Williams
- Re: Smooth lines in Picturebox
- From: Schmidt
- Re: Smooth lines in Picturebox
- From: Mike Williams
- Re: Smooth lines in Picturebox
- From: Schmidt
- Re: Smooth lines in Picturebox
- From: Mike Williams
- Re: Smooth lines in Picturebox
- From: Schmidt
- Re: Smooth lines in Picturebox
- From: Mike Williams
- Smooth lines in Picturebox
- Prev by Date: Re: VB 2005 not .NET
- Next by Date: Re: Detect name of PC?
- Previous by thread: Re: Smooth lines in Picturebox
- Next by thread: Re: Smooth lines in Picturebox
- Index(es):