Blog Stats
  • Posts - 99
  • Articles - 5
  • Comments - 236
  • Trackbacks - 105

 

Sorting Performance .NET 2.0

Be very careful when using Array.Sort in 2.0. I had posted a bug report about this a while ago http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=62029e14-2d0b-4250-a163-1583034db250

The behavior observed was originally in arraylist (which uses Array.Sort internally) so keep in mind that this applies to it as well.

Array.Sort(Items, 0, Items.Length, Comparer.Default); //takes 1 minute
Array.Sort(Items2, 0, Items.Length, null); //takes 250 ms

Items and Items2 are both clones of the same object []

What is tricky about this code is that the second call does not actually call Array.Sort .. it calls Array<object> .Sort

First call:

IL_0083: ldsfld class [mscorlib]System.Collections.Comparer [mscorlib]System.Collections.Comparer::Default
IL_0088: call void [mscorlib]System.Array::Sort(class [mscorlib]System.Array, int32, int32, class [mscorlib]System.Collections.IComparer)

Second Call:

IL_00c9: ldnull
IL_00ca: call void [mscorlib]System.Array::Sort (!!0[], int32, int32, class [mscorlib]System.Collections.Generic.IComparer`1)

Ah .. :)

Basically what the issue is is that there are 2 distinct sorting algorithms .. one that is Array.Sort one that is Array.Sort .. they do not use the same algorithm. From what I understand some changes were made in how pivots are chosen.

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Feedback

# re: Sorting Performance .NET 2.0

Gravatar Interesting find! 5/28/2006 10:29 PM | Aaron Feng

# indian stock market tips

Gravatar Hi,
Discipline is the key now if you are a trader or investor in the stock market. As all global markets including Indian stock market have become highly volatile because of which many investors and traders are burning there fingers. Still we suggest there are lot many opportunities which can let you earn a lot from stock market.
We strongly advise everyone not to follow rumors and follow technical analysis.
If you have any doubt, lets share it in this blog and it will help lot many other traders.


Regards
SHARETIPSINFO TEAM


11/12/2008 2:41 AM | sharetipsinfo

# ShareGyan.com - Indian Stock Market Tips, BSE/NSE Share Tips

Gravatar Hi,

Once again after crash Nifty has started going up. Now we suggest all rises should be used as an opportunity to exit old long positions.
This bull run will continue for few more days. Overall market is in bearish mood as in medium term its just a small rally due to short covering
and result season.


Happy Trading,

<a href="http://www.sharegyan.com"title="ShareGyan">ShareGyan 1/7/2009 1:22 AM | sharegyan

# re: Sorting Performance .NET 2.0

Gravatar <p>TradersPlace<br>TradersPlace is gateway to resources for Traders and Investors in Stocks, Futures and Options. TradersPlace is also an 'on-line advisory services' provider for Traders in Indian Stock Market. @ TradersPlace be assured of sound advice & not 'tips' !</p> 3/16/2009 6:35 AM | admin

# INDIAN STOCK MARKET TIPS INFO

Gravatar In the time of recession one job or one work is hardly fulfilling needs of people. So everyone is looking for supplementary source of income.
Now the question is what can be that source of income in such a bad phase of economy??

Well it’s very difficult to start new business at this point of time as it requires lot of cash and efforts. So again question is how to make more money in such conditions when needs are same and income is low?

We strongly suggest that if you like to take bit of risk and don’t want to spend too much money and time on new venture then stock market is the right place for you.
To be very frank this is not the right time for investment that is for long term to medium term investment but every day is a favourable day for day trading. No matter if NSE or BSE
is bullish or bearish as In stock market one can earn in both of these trends.


So just think about it and see if stock market can be the right place to make some extra money.


Please feel free to contact us for any query.


Regards
SHARETIPSINFO TEAM

3/23/2009 3:53 AM | sharetipsinfo

# re: Sorting Performance .NET 2.0

Gravatar Hi,
It’s a well know fact that stock market is affected by elections and now Election 2009 are about to begin in some time so for sure they will also have some sort of impact on Indian stock market.
One can find complete report on Impact of elections on stock market

Apart from Elections another major concern for Indian stock market is Inflation. There was a time when we were concerned about rising inflation but now we are conscious about this falling inflation.

So big question is what should day traders and investors do?

Frankly speaking day traders are least concerned about the market they simply follow trend and make maximum out of it. But yes investors should keep there portfolio light till the elections get over.

Please feel free to contact us for any query.


Regards
www.ShareTipsInfo.com Team

Call at:-

+91-9891655316
+91-9899056796
+91-9891890425

On Yahoo Messenger Chat Id: ShareTipsInfo or ShareTipsInfo_1

On Google Talk Chat Id: ShareTipsInfo1

Mail at:-
contact@sharetipsinfo.com
sharetipsinfo@yahoo.com
sharetipsinfo_1@yahoo.com
sharetipsinfo@gmail.com



4/6/2009 7:14 AM | ShareTipsInfo.com

# indian stock market tips

Gravatar Hi,
It’s a well know fact that stock market is affected by elections and now Election 2009 are about to begin in some time so for sure they will also have some sort of impact on Indian stock market.
One can find complete report on Impact of elections on stock market

Apart from Elections another major concern for Indian stock market is Inflation. There was a time when we were concerned about rising inflation but now we are conscious about this falling inflation.

So big question is what should day traders and investors do?

Frankly speaking day traders are least concerned about the market they simply follow trend and make maximum out of it. But yes investors should keep there portfolio light till the elections get over.

Please feel free to contact us for any query.


Regards
SHARETIPSINFO TEAM
4/24/2009 3:37 AM | sharetipsinfo

# re: Sorting Performance .NET 2.0

Gravatar indian stock market leader advisory www.puntercalls.com is now open to retail investor and trader of nse and bse. The finest and accurate stock calls are being offer which was never before in the stock market.
www.puntercalls.com is an innitiative from Punter Groups, India. You may not have experienced this type of great calls before and www.puntercalls.com welcomes you to taste the finest calls of indian share market.
5/28/2009 5:13 AM | www.puntercalls.com

# Indian stock market tips, Share tips

Gravatar Dear Visitors,

This blog is really nice and informative. We are pleased to know this blog is really helping people. It’s our pleasure to post informative content on this useful blog created by webmaster.

As budget season is approaching so it is wise to think before investing as we can witness very volatile market in coming days. Moreover, we are expecting some stock market correction in post budget session


We advise every investor to book profit before budget and try to grab value stocks at further decline for short to medium term.

For any query feel free to contact us.

Regards
SHARETIPSINFO TEAM

+91- 9891655316
+91- 9899056796
+91- 9891890425 6/18/2009 4:43 AM | sharetipsinfo

# re: Sorting Performance .NET 2.0

Gravatar Despite the Infosys results and the industrial output numbers beating the estimates, selling pressure gripped the markets in late trade. Nifty fell below 4K during the session before closing at 4,004, down 77 points—its lowest close since 15 May.
For the week the Nifty fell 9.5 per cent, the largest weekly drop since October 2008.
Read more news click on http://puntercalls.com/news/markets-crack-under-late-sell.html 7/13/2009 4:59 AM | www.puntercalls.com

# BSE/NSE tips covering Indian stock market

Gravatar Hi,


The market is currently enjoying a good rally which has seen most stocks gain from competitive advantage and it would be advisable for all stock market enthusiasts to seize this opportunity and plan their investments in a safer yet conducive stock market. With NIFTY hovering around 4800-4900 +, it is expected to take hold of this currently rally and be realistically be closest to 5000 more so than before in what should be its new 52 week high.

Lot many untouched stocks are still there which are ready to blast any moment.



Regards
SHARETIPSINFO TEAM



10/5/2009 2:00 AM | sharetipsinfo

# hot shares in bse sharemarketindia.net hot stocks bse nse hot stocks preferred stock recommendations hot shares on bse intraday

Gravatar TRADE4U - PROFIT SHARING PLAN
15 TO 20 % RETURN EXPECTED PER MONTH
TRADE IN NIFTY FUTURE & NSE FNO STOCKS
TICKET SIZE : 25 LACKS ONLY
SEATS AVAILABLE : 2
ACTIVATION COST : RS. 5,000/- ONLY 10/23/2009 5:27 AM | insight

# Indian stock market notices :: Sharetipsinfo

Gravatar Hi,

Stock market India is volatile and all those who speculate in market are loosing everyday. Please remember stock market is not for speculation purpose. If one feel investing in stock market is gamble then its better to think again.

One should always note that if they want to invest money they should do proper research be it fundamental research or technical research. Just think how come you can invest
your money without any convincing reason for the same?

Indian stock market is one of the most happening and emerging market. Major Indian stock exchanges are BSE and NSE and both are of world class standards.

So grab good stocks and invest that’s the bottom line.

We hope to see you in major profits.

Regards
SHARETIPSINFO TEAM



11/16/2009 3:20 AM | Sharetipsinfo

# re: Sorting Performance .NET 2.0

Gravatar Hi,

Stock market India is volatile and all those who speculate in market are loosing everyday. Please remember stock market is not for speculation purpose. If one feel investing in stock market is gamble then its better to think again.

One should always note that if they want to invest money they should do proper research be it fundamental research or technical research. Just think how come you can invest
your money without any convincing reason for the same?

Indian stock market is one of the most happening and emerging market. Major Indian stock exchanges are BSE and NSE and both are of world class standards.

So grab good stocks and invest that’s the bottom line.

We hope to see you in major profits.

Regards
SHARETIPSINFO TEAM




1/3/2010 10:20 PM | sharetipsinfo

# Stock market tips India

Gravatar Hi,

Stock market India is volatile and all those who speculate in market are loosing everyday. Please remember stock market is not for speculation purpose. If one feel investing in stock market is gamble then its better to think again.

One should always note that if they want to invest money they should do proper research be it fundamental research or technical research. Just think how come you can invest
your money without any convincing reason for the same?

Indian stock market is one of the most happening and emerging market. Major Indian stock exchanges are BSE and NSE and both are of world class standards.

So grab good stocks and invest that’s the bottom line.

We hope to see you in major profits.

Regards
SHARETIPSINFO TEAM 1/28/2010 2:57 AM | sharetipsinfo

# Indian Stock Market

Gravatar Hi,

Stock market India is volatile and all those who speculate in market are loosing everyday. Please remember stock market is not for speculation purpose. If one feel investing in stock market is gamble then its better to think again.

One should always note that if they want to invest money they should do proper research be it fundamental research or technical research. Just think how come you can invest
your money without any convincing reason for the same?

Indian stock market is one of the most happening and emerging market. Major Indian stock exchanges are BSE and NSE and both are of world class standards.

So grab good stocks and invest that’s the bottom line.
2/5/2010 7:07 AM | Sharetipsinfo

# Trading Strategies - Sharetipsinfo

Gravatar Hi,

Stock market India is volatile and all those who speculate in market are loosing everyday. Please remember stock market is not for speculation purpose. If one feel investing in stock market is gamble then its better to think again.

One should always note that if they want to invest money they should do proper research be it fundamental research or technical research. Just think how come you can invest
your money without any convincing reason for the same?

Indian stock market is one of the most happening and emerging market. Major Indian stock exchanges are BSE and NSE and both are of world class standards.

So grab good stocks and invest that’s the bottom line.

We hope to see you in major profits.

Regards
SHARETIPSINFO TEAM








2/24/2010 4:22 AM | sharetipsinfo

# NSE and BSE tips – Sharetipsinfo

Gravatar As mentioned earlier, Nifty will trade in 4600-5500 range throughout this year and its doing same only.
Now a days we can see many news in the market about various mergers and stake buying by Indian companies which is a good boost to Indian economy.

Still we strongly suggest everyone that one should trade with strict stoploss as Indian stock market is quite volatile.

Investors and traders should also remember one simple point in this Nifty swing from 4600-5500 they will get many good investment opportunities however they have to pick the right stock from so many NSE and BSE listed stocks.

Regards
SHARETIPSINFO TEAM
8/13/2010 2:40 AM | sharetipsinfo

# re: Sorting Performance .NET 2.0

Gravatar Get high return NSE and BSE intraday tips, delivery tips and BTST/STBT tips based on technical research.
8/28/2010 1:36 AM | sharetipsinfo

# re: Sorting Performance .NET 2.0

Gravatar Hi,
Nice blog!! Once again Nifty is trading quite high. Results season is going on and we can expect some unexpected moves in market now. From higher levels we are expecting minor correction of 100-150 points in Nifty so investors should wait before entering and day traders should not miss these swings. Rest we are here to keep you updated with everything.

Regards
SHARETIPSINFO TEAM 9/3/2010 4:29 AM | Sharetipsinfo

# Trading Strategies – Sharetipsinfo

Gravatar Hi,
Nice blog!! Once again Nifty is trading quite high. Results season is going on and we can expect some unexpected moves in market now. From higher levels we are expecting minor correction of 100-150 points in Nifty so investors should wait before entering and day traders should not miss these swings. Rest we are here to keep you updated with everything.

Regards
SHARETIPSINFO TEAM. 9/3/2010 4:31 AM | Sharetipsinfo

# Stock Market tips

Gravatar Hi,
Seems like it’s a nice blog. So let us also add something useful in it. Trading in volatile market can be very fruitful also if we follow technical levels closely. It’s a common saying that stock market can change fortune in either way. But now the question is how to earn money from the Indian stock market.

Traders are advised to strictly follow technical analyses and investors can follow fundamental analysis. Many analysts say it’s not wise to follow technical and fundamental analysis together. But we say what the problem is if one does so? As more knowledge will add up things will not have any negative impact.

Regards
. Sharetipsinfo Team
10/5/2010 4:11 AM | Sharetipsinfo

# NSE and BSE share market tips

Gravatar NSE and BSE have many listed stocks, Let

Sharetipsinfo research best profitable stocks for you.

Our accuracy speaks for us
11/12/2010 3:37 AM | sharetipsinfo

# re: Sorting Performance .NET 2.0

Gravatar Thanks. I think you went too much in details with this article.There are a lot of things to say about this article and we can debate it all night long, probably.
regards,
Free Intraday Tips 11/16/2010 12:41 AM | Free mcx Tips

# NSE and BSE share market tips

Gravatar NSE and BSE have many listed stocks, Let Sharetipsinfo research best profitable stocks for you. Our accuracy speaks for us
11/23/2010 4:06 AM | sharetipsinfo

# Sharetipsinfo indian stock market

Gravatar The information highlighted in this esteemed blog is really good and informative. To add would like to highlight Indian stock market is becoming favorite among FII. They want to invest money in NSE and BSE. Share market trading is gaining popularity among local investors and traders also.

Share market trading can become lucrative if investments and day trading is done with proper research and strategies. Investors should consider all pros and cons before investing money in share market India or in any other stock exchange.


Regards
SHARETIPSINFO TEAM
12/9/2010 7:29 AM | sharetipsinfo

# Helpful for devloper's.

Gravatar Helpful blog for programmers. E-learning Stock Trading Courses
helps to know more about facts of various fields. 1/6/2011 12:44 AM | globalfinanceschool

# re: Sorting Performance .NET 2.0

Gravatar The information given is very good and it can be discussed in detail.regards
regards
Indian stock market tips and picks 1/14/2011 5:00 AM | Indian stock market tips and pic

# The Basics of the Forex Market

Gravatar Hey
visiting this blog is our real pleasure. Should like to thank admin for sharing such a useful information and starting this thread in addition to that we suggest traders not to panic when Nifty is in profit booking state. Investors and traders should understand that in volatile stock market conditions they should switch to swing trading.

Good Day

1/28/2011 3:25 AM | buzzingstreet

# Share market tips – Sharetipsinfo

Gravatar BSE BLOG
Nice post. BSEis the one of the most well reputed stock

exchange of the India. BSE is very high-tech and attracts lot

of volume. It is always advisable to trade in volume rich

stocks so one has to find potential stocks from so many

listed stocks.
Just want to say- Always trade with confidence and don’t

panic.

Regards
SHARETIPSINFO TEAM 2/1/2011 1:47 AM | sharetipsinfo

# re: Sorting Performance .NET 2.0

Gravatar Seems unlikely core computational functions would see any major performance improvement without an overhaul of the CLR, which is still based on 2.0. However, I have read reports that 3.5 SP1 drastically improves application startup time (more about resource allocation and initialization than computational speed).


Thank you,
Commodity Tips Free Trial 2/2/2011 5:07 AM | Mcx Gold Tips

# Share market tips – Sharetipsinfo

Gravatar BSE BLOG
Nice post. BSEis the one of the most well reputed stock exchange of the India. BSE is very high-tech and attracts lot of volume. It is always advisable to trade in volume rich stocks so one has to find potential stocks from so many listed stocks.
Just want to say- Always trade with confidence and don’t panic.

Regards
SHARETIPSINFO TEAM 2/8/2011 10:44 PM | sharetipsinfo

# Bse and Nse tips – Buzzingstreet

Gravatar Nice post. Its always better to think before investing money in stock market. Investment should be done in share market but with the aim to increase our funds so speculation should not be the mode of investment. Investors should know why they are investing money in any stock.
Regards
Buzzingstreet 2/16/2011 5:38 AM | buzzingstreet

# re: Sorting Performance .NET 2.0

Gravatar Hi,
Lot of global tensions is going on at this time. Japan is

expected to pull out its money from the global market as

they want to revamp their country now. In current scenario

anything can happen in the

Share market



Investors are advised not to panic and stay invested only

safe traders and investors should exit their long

positions on every high and one can use every decline as

an opportunity to enter market again.

Regards
SHARETIPSINFO TEAM
3/16/2011 2:25 AM | Sharetipsinfo

# Bse and Nse tips – Buzzingstreet

Gravatar Hey,
Current stock market conditions are not favorable for safe investors. Market is trading highly volatile. Never ignore using stoploss while doing stock market trading.
Day traders should keep very close eye on Nifty and its important levels so that traders can earn money rather than losing it.

Keep posting
Buzzingstreet
3/17/2011 6:08 AM | buzzingstreet

# stock market

Gravatar Lot of global tensions is going on at this time. Japan is expected to pull out its money from the global market as they want to revamp their country now. In current scenario anything can happen in the Share market Investors are advised not to panic and stay invested only safe traders and investors should exit their long positions on every high and one can use every decline as an opportunity to enter market again.
Regards
SHARETIPSINFO TEAM 3/26/2011 12:21 AM | sharetipsinfo

# Mr.

Gravatar I am doing MCA and learn .net for web developing. How can i make master in .net. 6/21/2011 4:15 AM | mcx future

# Stock market research report

Gravatar Are you afraid of <a href="http://www.moneychunk.com"title="investing money">investing money in the current market situations? Well why not to find out various research reports and find out where its 100% safe to invest money and how to earn quick money by investing in undervalued stock which is read to show quick up move soon.<br>Regards<br>Moneychunk Team 1/13/2012 10:19 AM | sharetipsinfo

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

 

 

Copyright © Greg Young