码迷,mamicode.com
首页 >  
搜索关键字:__slots__ collections.namedtuple 内存优化    ( 879个结果
419. Battleships in a Board
Given an 2D board, count how many different battleships are in it. The battleships are represented with 'X's, empty slots are represented with '.'s. Y ...
分类:其他好文   时间:2016-12-08 23:19:52    阅读次数:201
redis 3.2.5 cluster 添加节点和指派槽位
一、环境描述DB:redis3.2.5OS:centos6.6_x64IP:192.168.80.131/132/133PORT:7000redis集群模式,服务已启动二、具体操作1.三个独立的集群节点,每个集群只有自己一个节点[root@mysql-131~]#redis-cli-c-p7000127.0.0.1:7000>clusterinfocluster_state:okcluster_slots_assig..
分类:其他好文   时间:2016-12-07 14:40:44    阅读次数:162
tomcat调优
一.Tomcat内存优化 Tomcat内存优化主要是对tomcat启动参数优化,我们可以在tomcat的启动脚本catalina.sh中设置JAVA_OPTS参数。 JAVA_OPTS参数说明 -server启用jdk的server版; -Xmsjava虚拟机初始化时的最小内存; -Xmxjava虚拟机可使用的最大内存; -XX:PermSize内存永久保留..
分类:其他好文   时间:2016-11-30 04:27:42    阅读次数:259
分布式搜索引擎Elasticsearch性能优化与配置
1、内存优化 在bin/elasticsearch.in.sh中进行配置 修改配置项为尽量大的内存: 两者最好改成一样的,否则容易引发长时间GC(stop-the-world) elasticsearch默认使用的GC是CMS GC,如果你的内存大小超过6G,CMS是不给力的,容易出现stop-th ...
分类:其他好文   时间:2016-11-29 22:39:07    阅读次数:226
419. Battleships in a Board
Given an 2D board, count how many different battleships are in it. The battleships are represented with 'X's, empty slots are represented with '.'s. Y ...
分类:其他好文   时间:2016-11-28 09:32:34    阅读次数:414
folly
一、简介 Folly是,Facebook于2012年6月初开源的一个基于C++11的C++组件库,提供了类似Boost库和std库的功能,包括散列、字符串、向量、内存分配、位处理等,以满足大规模高性能的需求,对Boost和std进行很好的补充和增强。Folly主要进行了速度上的提高、内存优化,以及数... ...
分类:其他好文   时间:2016-11-17 01:04:05    阅读次数:218
【python】类(资料+疑惑)
1.http://python-china.org/t/77 有关method binding的理解 2.[Python] dir() 与 __dict__,__slots__ 的区别 3.Descriptor HowTo Guide 4.如何理解 Python 的 Descriptor? 5.简明 ...
分类:编程语言   时间:2016-11-14 02:11:09    阅读次数:265
Glede学习之路
1、为什么要使用Gilde 因为android原生的加载图片的方式不够人性化,在内存优化、缓存处理和网络加载方面,需要开发者付出大量的精力和时间,而glide在这些方面都做了很好的处理和封装,使我们可以写少量的代码就能快速高效地完成需求,提高了我们的开发效率 2、简单的加载图片 1、从uri中加载图... ...
分类:其他好文   时间:2016-11-12 11:47:07    阅读次数:151
leetcode 419
题目说明: Given an 2D board, count how many different battleships are in it. The battleships are represented with 'X's, empty slots are represented with ' ...
分类:其他好文   时间:2016-11-06 14:27:47    阅读次数:220
【转】IntelliJ IDEA内存优化最佳实践
来自为知笔记(Wiz) ...
分类:其他好文   时间:2016-11-02 10:27:17    阅读次数:252
879条   上一页 1 ... 47 48 49 50 51 ... 88 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!