Click here to Skip to main content
15,911,306 members
Home / Discussions / C#
   

C#

 
GeneralRe: converting c header file in c# Pin
lawrenceinba6-Jan-09 22:35
lawrenceinba6-Jan-09 22:35 
GeneralRe: converting c header file in c# Pin
Dragonfly_Lee6-Jan-09 22:46
Dragonfly_Lee6-Jan-09 22:46 
AnswerRe: converting c header file in c# Pin
Rob Philpott6-Jan-09 23:00
Rob Philpott6-Jan-09 23:00 
GeneralRe: converting c header file in c# Pin
Luc Pattyn6-Jan-09 23:11
sitebuilderLuc Pattyn6-Jan-09 23:11 
GeneralRe: converting c header file in c# Pin
lawrenceinba6-Jan-09 23:27
lawrenceinba6-Jan-09 23:27 
QuestionFast string to integer conversion Pin
HosamAly6-Jan-09 19:58
HosamAly6-Jan-09 19:58 
AnswerRe: Fast string to integer conversion Pin
N a v a n e e t h6-Jan-09 21:10
N a v a n e e t h6-Jan-09 21:10 
GeneralRe: Fast string to integer conversion Pin
HosamAly6-Jan-09 22:29
HosamAly6-Jan-09 22:29 
I am parsing a live feed that contains many numbers. The feed comes from a trusted source (i.e. format is guaranteed to be correct), and the numbers are simple ASCII integers (no localization, no thousands separator, etc). Int32.Parse is simply too slow for such "simple" operations. In my benchmarks, it's taking 5-16 times more than some of my implementations.


GeneralRe: Fast string to integer conversion Pin
J4amieC6-Jan-09 23:08
J4amieC6-Jan-09 23:08 
GeneralRe: Fast string to integer conversion Pin
HosamAly6-Jan-09 23:15
HosamAly6-Jan-09 23:15 
GeneralRe: Fast string to integer conversion Pin
J4amieC6-Jan-09 23:54
J4amieC6-Jan-09 23:54 
AnswerRe: Fast string to integer conversion Pin
Dragonfly_Lee6-Jan-09 22:14
Dragonfly_Lee6-Jan-09 22:14 
GeneralRe: Fast string to integer conversion Pin
HosamAly6-Jan-09 22:27
HosamAly6-Jan-09 22:27 
GeneralRe: Fast string to integer conversion Pin
Dragonfly_Lee6-Jan-09 22:42
Dragonfly_Lee6-Jan-09 22:42 
AnswerRe: Fast string to integer conversion Pin
Guffa6-Jan-09 23:49
Guffa6-Jan-09 23:49 
GeneralRe: Fast string to integer conversion Pin
N a v a n e e t h7-Jan-09 0:04
N a v a n e e t h7-Jan-09 0:04 
GeneralRe: Fast string to integer conversion Pin
Le centriste7-Jan-09 1:13
Le centriste7-Jan-09 1:13 
GeneralRe: Fast string to integer conversion Pin
HosamAly7-Jan-09 8:59
HosamAly7-Jan-09 8:59 
GeneralRe: Fast string to integer conversion Pin
Le centriste7-Jan-09 9:16
Le centriste7-Jan-09 9:16 
GeneralRe: Fast string to integer conversion Pin
Guffa7-Jan-09 2:46
Guffa7-Jan-09 2:46 
GeneralRe: Fast string to integer conversion Pin
HosamAly7-Jan-09 8:31
HosamAly7-Jan-09 8:31 
QuestionCalling C# Managed code in VB Pin
satsumatable6-Jan-09 19:47
satsumatable6-Jan-09 19:47 
AnswerRe: Calling C# Managed code in VB Pin
Mycroft Holmes6-Jan-09 20:31
professionalMycroft Holmes6-Jan-09 20:31 
AnswerRe: Calling C# Managed code in VB Pin
Spoon656-Jan-09 22:25
Spoon656-Jan-09 22:25 
AnswerRe: Calling C# Managed code in VB Pin
Dragonfly_Lee6-Jan-09 22:50
Dragonfly_Lee6-Jan-09 22:50 

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.