Click here to Skip to main content
16,005,169 members
Home / Discussions / C#
   

C#

 
GeneralRe: Installer:copying file in specified folder Pin
MoustafaS15-Mar-05 9:32
MoustafaS15-Mar-05 9:32 
GeneralRe: Installer:copying file in specified folder Pin
Adnan Siddiqi15-Mar-05 18:06
Adnan Siddiqi15-Mar-05 18:06 
General(Need Help) How to detect the lines from .BMP image into vector Graphics Pin
Kunwar Ashok Singh14-Mar-05 23:23
Kunwar Ashok Singh14-Mar-05 23:23 
General(null) is not a valid win32 app Pin
bwagz14-Mar-05 23:17
bwagz14-Mar-05 23:17 
Questionwhat is best approach for getting performance? Pin
montu337714-Mar-05 22:14
montu337714-Mar-05 22:14 
AnswerRe: what is best approach for getting performance? Pin
Robert Rohde14-Mar-05 23:06
Robert Rohde14-Mar-05 23:06 
GeneralRe: what is best approach for getting performance? Pin
montu337715-Mar-05 0:06
montu337715-Mar-05 0:06 
GeneralRe: what is best approach for getting performance? Pin
Robert Rohde15-Mar-05 5:30
Robert Rohde15-Mar-05 5:30 
On most processors multithreading wont to do much here. Processors with Hyperthreading would probably gain a bit. You should wait with this until those multicore processors arrive Smile | :)

Are you suing the BitmapData class to get and set the pixel values? If not you should consider doing so.
The first part of your algorithm shouldnt work with floating points. Instead I would try to use integer arithmetic (instead of r = r * 0.299 try r = r * 299 / 1000).
The second part isnt clear for me. Why should the value be < 0 ? Confused | :confused:

If you like send me (part of) your code (for me its fun doing performance tweaks) to treborg@freenet.de.
AnswerRe: what is best approach for getting performance? Pin
mav.northwind15-Mar-05 1:54
mav.northwind15-Mar-05 1:54 
GeneralRe: what is best approach for getting performance? Pin
montu337715-Mar-05 2:00
montu337715-Mar-05 2:00 
GeneralRe: what is best approach for getting performance? Pin
mav.northwind15-Mar-05 2:21
mav.northwind15-Mar-05 2:21 
GeneralRe: what is best approach for getting performance? Pin
montu337715-Mar-05 5:16
montu337715-Mar-05 5:16 
GeneralRe: what is best approach for getting performance? Pin
montu337715-Mar-05 8:56
montu337715-Mar-05 8:56 
GeneralRe: what is best approach for getting performance? Pin
mav.northwind15-Mar-05 20:30
mav.northwind15-Mar-05 20:30 
GeneralClosing the Child Window(popup window) Pin
Prabhakar.A14-Mar-05 19:52
Prabhakar.A14-Mar-05 19:52 
GeneralRe: Closing the Child Window(popup window) Pin
mav.northwind14-Mar-05 20:20
mav.northwind14-Mar-05 20:20 
GeneralRe: Closing the Child Window(popup window) Pin
MoustafaS15-Mar-05 9:34
MoustafaS15-Mar-05 9:34 
GeneralSync scrolling Pin
frankDust14-Mar-05 18:09
frankDust14-Mar-05 18:09 
Generaldatalist, dataset, and xml paging HELP Pin
jt hope14-Mar-05 17:52
jt hope14-Mar-05 17:52 
GeneralRe: datalist, dataset, and xml paging HELP Pin
jt hope14-Mar-05 17:54
jt hope14-Mar-05 17:54 
GeneralFind Selected row in Datagrid Pin
joy_priyank14-Mar-05 17:35
joy_priyank14-Mar-05 17:35 
GeneralRe: Find Selected row in Datagrid Pin
NickyWang14-Mar-05 21:03
NickyWang14-Mar-05 21:03 
GeneralRe: Find Selected row in Datagrid Pin
joy_priyank15-Mar-05 0:03
joy_priyank15-Mar-05 0:03 
GeneralRe: Find Selected row in Datagrid Pin
Robert Rohde14-Mar-05 23:10
Robert Rohde14-Mar-05 23:10 
GeneralRe: Find Selected row in Datagrid Pin
joy_priyank14-Mar-05 23:54
joy_priyank14-Mar-05 23:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.