Bing地图绘图工具模块(Bing Maps Drawing Tools Module)
我们正在使用Bing Maps V7的Ricky Brundritt绘图工具模块。 这是否有Bing Maps V8版本? 由于我们无法使用此绘制形状。 任何帮助是极大的赞赏。
We are using Ricky Brundritt Drawing Tools Module for Bing Maps V7. Is there a Bing Maps V8 version of this ? Since we are unable to draw shapes using this. Any help is greatly appreciated.
原文:https://stackoverflow.com/questions/48231641
满意答案
第二个问题是指针的问题,委托给C或其他语言不是解决方案,因为指针总是需要8或4个字节(取决于架构)。 另外,我假设使用64b python进行数十GB的工作,因此几乎每个变量类型都会大约2倍。
例如:
node = [None, None, None, None] node = [[[None, None, None, None], None, None, None], None, None, None]
每个“None”都可以引用另一个节点(指针),因此不可能以这种方式进行优化。 如果您确定叶子的数量将少于~65K,那么您可以减少(~4次)并根据需要修改64b架构上的指针大小。
第一个问题的问题类似(指针总是占用必要的空间),解决方案是使用位数组或使用位操作,并尝试在一个变量中存储更多值。 但是如果有必要在某些结构中精确地存储例如2个字节的值然后例如在数组中,则在python中它将不具有存储器效率。
Second problem is matter of pointers, delegate to C or another language is not solution because pointer will always take 8 or 4 bytes (depends on architecture). In addition, I assume to use 64b python for work with tens of GB so almost every variable type will be ~2 times greater.
For example:
node = [None, None, None, None] node = [[[None, None, None, None], None, None, None], None, None, None]
Each "None" is possible reference to another node (pointer), so it is not possible to do optimization in this way. If you are sure that count of leaf will be e.g. less then ~65K, then you can decrease (~4 times) and modify size of pointer on 64b architecture for your needs.
Problem of first problem is similar (pointer will always take necessary space) and solution is use bit arrays or use bit operations and try to store more values in one variable. But if it is necessary to store exactly e.g 2 bytes values in some structure and then e.g. in array, it won't be memory-efficient in python.
相关问答
更多内存高效的替代Python字典(Memory Efficient Alternatives to Python Dictionaries)
在Python中,使用变量的方式在速度,CPU,内存等方面更有效率?(Which way of using variables is more efficient in terms of speed, cpu, memory, etc in python?)
python中内存高效的2d可扩展数组?(Memory-efficient 2d growable array in python?)
在Python中使用具有不同变量类型的ConfigParser(Use ConfigParser with different variable types in Python)
Python中的内存高效变量类型(Memory efficient variable types in Python)
在Javascript和Python中为不同的数据类型分配了多少内存?(How much memory is allocated to different data types in Javascript & Python? [closed])
处理C中的动态整数类型?(Dealing with dynamic integer types in C?)
高效的Python IPC(Efficient Python IPC)
内存中的python类是否存储为类“类型”的实例?(Are python classes in memory stored as instances of the class “types”?)
Python解释器如何查找类型?(How does Python interpreter look for types?)
相关文章
更多SharePoint Development Tools
SharePoint Development Tools
Good .net tools
Five More Hacker Tools Every CISO Should Understand
A Great List of Windows Tools
Clojure常用模块
名列前茅的75个 安全工具
如何使用 Example42 的 Puppet 模块【转】
【云图】如何制作附近实体店的地图?-微信微博支付宝
最新问答
更多获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
如何通过引用返回对象?(How is returning an object by reference possible?)
矩阵如何存储在内存中?(How are matrices stored in memory?)
每个请求的Java新会话?(Java New Session For Each Request?)
css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
xcode语法颜色编码解释?(xcode syntax color coding explained?)
在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
Copyright ©2023 peixunduo.com All Rights Reserved.粤ICP备14003112号
本站部分内容来源于互联网,仅供学习和参考使用,请莫用于商业用途。如有侵犯你的版权,请联系我们(neng862121861#163.com),本站将尽快处理。谢谢合作!