Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¹ØÓÚieµÄÄÚ´æй©ÓëjavascriptÄÚ´æÊÍ·Å

×î½ü×öÒ»¸ö¹«Ë¾µÄÒµÎñϵͳ£¬¹«Ë¾ÒªÇóÄܾ¡¿ÉÄܵÄÓëc/s½üËÆ£¬Ò²¾ÍÊÇÈçc/sÒ»Ñù£¬µã»÷Îı¾¿ò¿ÉÒÔµ¯³ö´ËÏîÄ¿µÄÏà¹ØÄÚÈÝ£¬½øÐÐÑ¡ÔñÊäÈë¡£
     ÎÒʹÓÃÁ˵¯³ö´°¿Ú£¬È»ºóÔÚ×Ó´°¿ÚË«»÷Ñ¡ÖÐÏîÄ¿£¬°ÑÑ¡ÖеÄÖµ·µ»Ø¸ø¸¸´°Ìå¡£
     ÔÚϵͳ×öÍêÁËÖ®ºó£¬ÔÚ¿Í»§Ê¹ÓõĹý³Ì£¬ÓÉÓÚ¿Í»§Ê¹ÓõÄÊÇ512mµÄÄÚ´æÅäÖã¬ËùÒÔÔÚ´ò¿ªÁË30--40¸ö´°ÌåÖ®ºó£¬ieµÄÐéÄâÄÚ´æÕ¼ÓÃÁ¿´ïµ½½ü200m£¬´Ó¶øʹϵͳ±äÂý£¬javascriptµÄÔËÐÐÒ²±äÂýÁË¡£
      ÔÚgoogleËÑÁËÒ»ÏÂÖ®ºó£¬²ÅÖªµÀ¿ÉÄÜÊÇÓÉÓÚieµÄÄÚ´æй©ÒýÆðµÄ¡£¾ßÌå¿ÉÒԲο´www.cnblogs.comÖеÄÏà¹ØÎÄÕ¡£
      ÎÒʹÓÃÈÎÎñ¹ÜÀíÆ÷£¬´ò¿ªÒ»¸öµ¯³ö´°¿Ú£¬ieÄÚ´æ¾ÍÔö¼Ó1-3m£¬È»ºó¹Ø±Õ´°¿Ú£¬ÓÐʱÄÚ´æ²¢²»ÊÍ·Å£¬ÓÐʱ²ÅÊͷż¸Ê®k¡£¿´À´ÎÊÌâ³öÔÚÁËÄÚ´æÊÍ·ÅÉÏÃæ¡£
      ½Ó×Å°´ÄÚ´æÊÍ·ÅÕâ¸ö˼·£¬½øÐÐËÑË÷²éÕÒ·½·¨£¬À´½øÐнâ¾öÕâ¸öÎÊÌâ¡£ÎÒÕÒµ½Ò»¸öjavascriptδ¹«¿ªµÄº¯ÊýCollectGarbage£¬Õâ¸öº¯ÊýÊÇÓÃÀ´½øÐÐÄÚ´æÊͷŵġ£ÎÒÔÚËùÓеĵ¯³ö´°¿Ú½áÊø֮ǰ°ÑËùÓеÄ×Ô¼º¶¨ÒåµÄjavasctipµÄ±äÁ¿ÉèÖÃΪnull£¬²¢µ÷ÓÃCollectGarbageº¯Êý¡£
      javascriptÖаѱäÁ¿ÉèΪnull£¬javascript²¢²»»á°ÑÄÚ´æÊÍ·Å£¬µ±Ï´ÎÔٴζ¨Òå±äÁ¿Ê±£¬¾Í»á¸²¸Ç´Ë±äÁ¿ËùÔÚµÄÄÚ´æ¡£Èç¹û²»ÉèΪnull£¬javascriptÔٴζ¨Òå±äÁ¿Ê±£¬»á¿ª±ÙÒ»¸öеÄÄÚ´æ¿Õ¼ä¡£
      ÔÚʹÓÃÒÔÉÏ´¦ÀíÖ®ºó£¬Ôٴδò¿ª´°¿Ú£¬ieµÄÄÚ´æÿ´Î»¹ÊÇÔö¼Ó1-3m£¬µ«ÊÇÔڹرմ°¿ÚÖ®ºó£¬Ôòie»áÊÍ·ÅÒ»¶¨ÊýÁ¿µÄÄÚ´æÔÚ500kÖÁ2m¡£Æðµ½ÁËÒ»¶¨µÄ×÷Óá£
       ÓÉÓÚÎÒÔÚÒ³ÃæÖÐʹÓÃÁ˵ÚÈý·½µÄ¿Ø¼þ£¬µÚÈý·½µÄ¿Ø¼þÖеÄjavascriptÖеÄÄÚ´æÊÇÈçºÎ¹ÜÀí£¬¾Í²»ÊÇÓÉÎÒÀ´¿ØÖƵÄÁË¡£
     
1.javascriptÄÚ´æÊͷŵķ½·¨Ê¾Àý
  °ÑËùÓÐÉϼ¶º¯ÊýµÄ²ÎÊý¼´Ê¹ÉèΪnull£¬²¢Ê¹ÓÃCollectGarbageÀ´ÊÍ·ÅÄÚ´æ¡£  
ʾÀý
  <script>  
   
  //32M  
  function   AllocMem()  
  {  
  var   str="12345678";  
  for(var   i=3;i<24;i++)  
  str+=str;  
  return   str;  
&


Ïà¹ØÎĵµ£º

Javascript °´¼üʼþ


AS("#...").keypress(function(event) {
        if (navigator.userAgent.toLowerCase().indexOf("mozilla") >= 0) {
         var $key = event.charCode ;
        } else {
         var $key = event. ......

Ôö¼Ó javascript µÄ trim º¯Êý


È¥³ý×Ö·û´®×óÓÒÁ½¶ËµÄ¿Õ¸ñ£¬ÔÚvbscriptÀïÃæ¿ÉÒÔÇáËɵØʹÓàtrim¡¢ltrim »ò rtrim£¬µ«ÔÚjsÖÐȴûÓÐÕâ3¸öÄÚÖ÷½·¨£¬ÐèÒªÊÖ¹¤±àд¡£ÏÂÃæµÄʵÏÖ·½·¨ÊÇÓõ½ÁËÕýÔò±í´ïʽ£¬Ð§Âʲ»´í£¬²¢°ÑÕâÈý¸ö·½·¨¼ÓÈëString¶ÔÏóµÄÄÚÖ÷½·¨ÖÐÈ¥¡£
<input type="text" name="mytxt" value="   12345678 &nbs ......

C#´úÂëÓëjavaScriptº¯ÊýµÄÏ໥µ÷ÓÃ

C#´úÂëÓëjavaScriptº¯ÊýµÄÏ໥µ÷ÓÃ
ÎÊ£º
1.ÈçºÎÔÚJavaScript·ÃÎÊC#º¯Êý?
2.ÈçºÎÔÚJavaScript·ÃÎÊC#±äÁ¿?
3.ÈçºÎÔÚC#ÖзÃÎÊJavaScriptµÄÒÑÓбäÁ¿?
4.ÈçºÎÔÚC#ÖзÃÎÊJavaScriptº¯Êý?
  ÎÊÌâ1´ð°¸ÈçÏ£º
javaScriptº¯ÊýÖÐÖ´ÐÐC#´úÂëÖеĺ¯Êý£º
·½·¨Ò»£º1¡¢Ê×ÏȽ¨Á¢Ò»¸ö°´ ......

eclipseÖÐjavascriptÏÔʾΪÂÒÂëµÄ½â¾ö°ì·¨¡£


eclipseÖÐjavascriptÏÔʾΪÂÒÂëµÄ½â¾ö°ì·¨¡£
Òà¿ÉÒÀ´ÎÑ¡Ôñ²Ëµ¥"window">>"preferences">>"general">>"content types"
ÔÚÓұߵĴ°¿ÚÖдò¿ªÁбí,Ñ¡ÖÐ"JavaScript",ÔÚÏÂÃæµÄ"default encoding"ÓұߵÄÊäÈë¿òÖÐÊäÈëjavaScript±àÂ룬Ҫ¿´ÄúµÄÍøÒ³ÓõıàÂ룬Èç¹ûÊÇ“GBK”¾ÍÑ¡"GBK",ÊÇ"GB2312"¾ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ