首 页健康生活新 闻留 言骗 子美女图片网络安全论 坛问吧注册码大全bt资源
张筱雨人体艺术   汤芳人体艺术  汤加丽人体艺术  石靖人体艺术   刘亦菲人体艺术   汤唯人体艺术  张柏芝人体艺术   人体艺术摄影
人体艺术摄影        BODY ART PHOTOGRAPHY
                                           Human essence of art, the human feelings of the perfect lens
首页
您当前的位置:地球村问吧电脑技术编程语言 → 问吧内容 设为首页   加入收藏   联系我们
asp中,一个三维数组+一个一维数组vs一个四维数组,那个开销大?
作者:meilibao  来源:地球村  发布时间:2007-8-20 10:00:47
Body art from the West, male body is mainly a reflection of the strength of the United States. While the female body is mainly a reflection of the kind of a female-specific negative of tender.
Body art is static human form, does not contain sexual intercourse is exposed genitals or other to tease of limb movements. Good photographs focus on the human body is the use of light and shadow. The body was naked from the arts, the human body art is not carnal desire , vulgar. Accurately speaking, and now, the "body art" is not very precise. Art classification is based on the auditory,
asp中,一个三维数组+一个一维数组vs一个四维数组,那个开销大?
悬赏分:0 - 解决时间:2007-8-17 23:15
asp中,一个三维数组+一个一维数组vs一个四维数组,那个开销大?占用的系统资源多?
又或者:四个一维数组vs一个四维数组,那个开销大?
问题补充:To MaysWind:谢谢你的回答。假如四维数据定义为array(150,150,150,150)的话,和四个array(150),这个占用系统资源是否差不多?(原来写错了)
提问者:fkhf99 - 试用期 一级
最佳答案
前者:当然是一个四位数组大,当然也得看你的数据量,如果数据量小的话可以忽略不计。
后者:如果是你给的例子的话是一个四位数组大,如果数据量不大的话也无所谓,当然也得看你怎么用这个数组。
(其实一个四维数组若转成四个一维数组的数组,数组大小会变化,比如一个四维(n,n,n,n)转化成四个一维的不一定是4个(n)的数组,得看问题的实际情况)

P.S.一般用动规的话都提倡简化数组,比如一个四维的拆成一个三维的+一个一维的等等。

------------
再回:数据量小了无所谓。一个四维数组占的空间为O(n4),而四个一维占用的空间为O(n),根本不是一个数量级的(也就是一个四维的是n*n*n*n,四个一维的4*n)。如果数据量大了。。。。
P.S.之前有一点给弄错了,重新改了改。。。
回答者:MaysWind - 经理 五级 8-14 23:20
提问者对于答案的评价:
谢谢你的答案。
您觉得最佳答案好不好?目前有 1 个人评价

100% (1)

0% (0)
[ ] [返回上一页] [打 印]
Copyright © 2007 Diqiuc.Com. All Rights Reserved .豫ICP备07001840 Powered by Diqiuc.Com