Geeks With Blogs

News Terror Alert Level
Greg Young Greg.ToString()

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.

Posted on Sunday, May 28, 2006 12:17 AM Under the covers | Back to top


Comments on this post: Sorting Performance .NET 2.0

# re: Sorting Performance .NET 2.0
Requesting Gravatar...
Interesting find!
Left by Aaron Feng on May 28, 2006 10:29 PM

# indian stock market tips
Requesting 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


Left by sharetipsinfo on Nov 12, 2008 2:41 AM

# ShareGyan.com - Indian Stock Market Tips, BSE/NSE Share Tips
Requesting 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
Left by sharegyan on Jan 07, 2009 1:22 AM

# re: Sorting Performance .NET 2.0
Requesting 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>
Left by admin on Mar 16, 2009 6:35 AM

# INDIAN STOCK MARKET TIPS INFO
Requesting 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

Left by sharetipsinfo on Mar 23, 2009 3:53 AM

# re: Sorting Performance .NET 2.0
Requesting 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



Left by ShareTipsInfo.com on Apr 06, 2009 7:14 AM

# indian stock market tips
Requesting 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
Left by sharetipsinfo on Apr 24, 2009 3:37 AM

# re: Sorting Performance .NET 2.0
Requesting 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.
Left by www.puntercalls.com on May 28, 2009 5:13 AM

# Indian stock market tips, Share tips
Requesting 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
Left by sharetipsinfo on Jun 18, 2009 4:43 AM

# re: Sorting Performance .NET 2.0
Requesting 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
Left by www.puntercalls.com on Jul 13, 2009 4:59 AM

# BSE/NSE tips covering Indian stock market
Requesting 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



Left by sharetipsinfo on Oct 05, 2009 2:00 AM

# hot shares in bse sharemarketindia.net hot stocks bse nse hot stocks preferred stock recommendations hot shares on bse intraday
Requesting 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
Left by insight on Oct 23, 2009 5:27 AM

# Indian stock market notices :: Sharetipsinfo
Requesting 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



Left by Sharetipsinfo on Nov 16, 2009 3:20 AM

# re: Sorting Performance .NET 2.0
Requesting 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




Left by sharetipsinfo on Jan 03, 2010 10:20 PM

# Stock market tips India
Requesting 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
Left by sharetipsinfo on Jan 28, 2010 2:57 AM

# Indian Stock Market
Requesting 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.
Left by Sharetipsinfo on Feb 05, 2010 7:07 AM

# Trading Strategies - Sharetipsinfo
Requesting 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








Left by sharetipsinfo on Feb 24, 2010 4:22 AM

# NSE and BSE tips – Sharetipsinfo
Requesting 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
Left by sharetipsinfo on Aug 13, 2010 2:40 AM

# re: Sorting Performance .NET 2.0
Requesting Gravatar...
Get high return NSE and BSE intraday tips, delivery tips and BTST/STBT tips based on technical research.
Left by sharetipsinfo on Aug 28, 2010 1:36 AM

# re: Sorting Performance .NET 2.0
Requesting 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
Left by Sharetipsinfo on Sep 03, 2010 4:29 AM

# Trading Strategies – Sharetipsinfo
Requesting 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.
Left by Sharetipsinfo on Sep 03, 2010 4:31 AM

# Stock Market tips
Requesting 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
Left by Sharetipsinfo on Oct 05, 2010 4:11 AM

# NSE and BSE share market tips
Requesting Gravatar...
NSE and BSE have many listed stocks, Let

Sharetipsinfo research best profitable stocks for you.

Our accuracy speaks for us
Left by sharetipsinfo on Nov 12, 2010 3:37 AM

# re: Sorting Performance .NET 2.0
Requesting 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
Left by Free mcx Tips on Nov 16, 2010 12:41 AM

# NSE and BSE share market tips
Requesting Gravatar...
NSE and BSE have many listed stocks, Let Sharetipsinfo research best profitable stocks for you. Our accuracy speaks for us
Left by sharetipsinfo on Nov 23, 2010 4:06 AM

# Sharetipsinfo indian stock market
Requesting 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
Left by sharetipsinfo on Dec 09, 2010 7:29 AM

# Helpful for devloper's.
Requesting Gravatar...
Helpful blog for programmers. E-learning Stock Trading Courses
helps to know more about facts of various fields.
Left by globalfinanceschool on Jan 06, 2011 12:44 AM

# re: Sorting Performance .NET 2.0
Requesting Gravatar...
The information given is very good and it can be discussed in detail.regards
regards
Indian stock market tips and picks
Left by Indian stock market tips and pic on Jan 14, 2011 5:00 AM

# The Basics of the Forex Market
Requesting 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

Left by buzzingstreet on Jan 28, 2011 3:25 AM

# Share market tips – Sharetipsinfo
Requesting 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
Left by sharetipsinfo on Feb 01, 2011 1:47 AM

# re: Sorting Performance .NET 2.0
Requesting 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
Left by Mcx Gold Tips on Feb 02, 2011 5:07 AM

# Share market tips – Sharetipsinfo
Requesting 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
Left by sharetipsinfo on Feb 08, 2011 10:44 PM

# Bse and Nse tips – Buzzingstreet
Requesting 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
Left by buzzingstreet on Feb 16, 2011 5:38 AM

# re: Sorting Performance .NET 2.0
Requesting 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
Left by Sharetipsinfo on Mar 16, 2011 2:25 AM

# Bse and Nse tips – Buzzingstreet
Requesting 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
Left by buzzingstreet on Mar 17, 2011 6:08 AM

# stock market
Requesting 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
Left by sharetipsinfo on Mar 26, 2011 12:21 AM

# Mr.
Requesting Gravatar...
I am doing MCA and learn .net for web developing. How can i make master in .net.
Left by mcx future on Jun 21, 2011 4:15 AM

# Stock market research report
Requesting 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
Left by sharetipsinfo on Jan 13, 2012 10:19 AM

# re: Sorting Performance .NET 2.0
Requesting Gravatar...
A site dedicated to provide stock option tips and Nifty option tips with high accuracy.
Left by optiontipsinfo on Aug 15, 2013 10:52 AM

Your comment:
 (will show your gravatar)


Copyright © Greg Young | Powered by: GeeksWithBlogs.net